1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-04-13 22:33:13 +00:00

Move Fabric datagen mixins to datagen module

This way they don't interfere with other mods doing datagen.

Also bump reuse version, to fix issues with globs.
This commit is contained in:
Jonathan Coates 2025-01-12 12:44:57 +00:00
parent d3a3ab3c21
commit 0b389e04b0
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06
7 changed files with 23 additions and 16 deletions

View File

@ -27,7 +27,7 @@ repos:
exclude: "^(.*\\.(bat)|LICENSE)$"
- repo: https://github.com/fsfe/reuse-tool
rev: v4.0.3
rev: v5.0.2
hooks:
- id: reuse

View File

@ -17,14 +17,14 @@ path = [
"projects/common/src/main/resources/assets/computercraft/sounds/empty.ogg",
"projects/common/src/testMod/resources/data/cctest/computercraft/turtle_upgrades/**",
"projects/common/src/testMod/resources/data/cctest/structures/**",
"projects/**/src/generated/**",
"projects/*/src/generated/**",
"projects/web/src/htmlTransform/export/index.json",
"projects/web/src/htmlTransform/export/items/minecraft/**",
# GitHub build scripts are CC0. While we could add a header to each file,
# it's unclear if it will break actions or issue templates in some way.
".github/**",
# Example mod is CC0.
"projects/**/src/examples/**"
"projects/*/src/examples/**"
]
[[annotations]]
@ -35,22 +35,15 @@ path = [
"doc/images/**",
"package.json",
"package-lock.json",
"projects/common/src/client/resources/computercraft-client.mixins.json",
"projects/*/src/*/resources/*.mixins.json",
"projects/fabric/src/*/resources/fabric.mod.json",
"projects/common/src/main/resources/assets/minecraft/shaders/core/computercraft/monitor_tbo.json",
"projects/common/src/main/resources/computercraft.mixins.json",
"projects/common/src/testMod/resources/computercraft-gametest.mixins.json",
"projects/common/src/testMod/resources/data/computercraft/loot_tables/treasure_disk.json",
"projects/common/src/testMod/resources/pack.mcmeta",
"projects/core/src/main/resources/data/computercraft/lua/rom/modules/command/.ignoreme",
"projects/core/src/main/resources/data/computercraft/lua/rom/modules/main/.ignoreme",
"projects/core/src/main/resources/data/computercraft/lua/rom/modules/turtle/.ignoreme",
"projects/core/src/main/resources/data/computercraft/lua/rom/motd.txt",
"projects/fabric/src/client/resources/computercraft-client.fabric.mixins.json",
"projects/fabric/src/datagen/resources/fabric.mod.json",
"projects/fabric/src/main/resources/computercraft.fabric.mixins.json",
"projects/fabric/src/main/resources/fabric.mod.json",
"projects/fabric/src/testMod/resources/computercraft-gametest.fabric.mixins.json",
"projects/fabric/src/testMod/resources/fabric.mod.json",
"projects/web/src/frontend/mount/.settings",
"projects/web/src/frontend/mount/example.nfp",
"projects/web/src/frontend/mount/example.nft",

View File

@ -0,0 +1,13 @@
{
"required": true,
"package": "dan200.computercraft.mixin",
"minVersion": "0.8",
"compatibilityLevel": "JAVA_17",
"injectors": {
"defaultRequire": 1
},
"mixins": [
"TagEntryAccessor",
"TagsProviderMixin"
]
}

View File

@ -9,5 +9,8 @@
},
"depends": {
"computercraft": "*"
}
},
"mixins": [
"computercraft-datagen.fabric.mixins.json"
]
}

View File

@ -13,8 +13,6 @@
"ExplosionDamageCalculatorMixin",
"ItemEntityMixin",
"ItemMixin",
"ServerLevelMixin",
"TagEntryAccessor",
"TagsProviderMixin"
"ServerLevelMixin"
]
}