diff options
author | Linnea Gräf <nea@nea.moe> | 2024-02-05 13:19:59 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-02-05 13:19:59 +0100 |
commit | 09cd2809fbe4c3411c9065fd5b8a7fca52cceafd (patch) | |
tree | 0543ba9327e5a5bb7fcf6b1545bd8108e5208a4f /src/main/resources/mixins.examplemod.json | |
parent | d9c6bd7e73673396f13595546edd687b0b3a8b9d (diff) | |
download | Forge1.8.9Template-09cd2809fbe4c3411c9065fd5b8a7fca52cceafd.tar.gz Forge1.8.9Template-09cd2809fbe4c3411c9065fd5b8a7fca52cceafd.tar.bz2 Forge1.8.9Template-09cd2809fbe4c3411c9065fd5b8a7fca52cceafd.zip |
Add an auto discovery plugin for mixins
This will automatically find mixins in the mixin plugin, not requiring
the manual configuration. This is less friction, especially for newer
users. Usually this isn't super advisable, or needs more configuration
to avoid server/client mixins being incorrectly applied, but with the
target demographic of mostly client mods, I think this is a worthwhile
change.
Diffstat (limited to 'src/main/resources/mixins.examplemod.json')
-rw-r--r-- | src/main/resources/mixins.examplemod.json | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/main/resources/mixins.examplemod.json b/src/main/resources/mixins.examplemod.json index 570a0d0..5ea0c57 100644 --- a/src/main/resources/mixins.examplemod.json +++ b/src/main/resources/mixins.examplemod.json @@ -1,11 +1,8 @@ { - "package": "${mixinGroup}", + "package": "${basePackage}.mixin", + "plugin": "${basePackage}.init.AutoDiscoveryMixinPlugin", "refmap": "mixins.${modid}.refmap.json", "minVersion": "0.7", "compatibilityLevel": "JAVA_8", - "mixins": [ - ], - "client": [ - "MixinGuiMainMenu" - ] + "__comment": "You do not need to manually register mixins in this template. Check the auto discovery mixin plugin for more info." } |