Fabric 1.16.2 GenerationSettingsAccessor mixin & mod compatibility
Katorone opened this issue ยท 2 comments
Overwriting a method can be bad for mod compatibility. There might be another way to get the same result while remaining compatible.
Describe the bug
Method overwrite conflict for setFeatures in appliedenergistics2.mixins.json:structure.GenerationSettingsAccessor, previously written by slexom.earthtojava.mobs.mixins.MixinGenerationSettings. Skipping method.
Two mods are trying to overwrite the same method, causing incompatibility. I'm reporting this to the earth2java git as well.
To Reproduce
Install AE2 and earth2java
https://www.curseforge.com/minecraft/mc-mods/earth2java-fabric/files/3031517
Expected behavior
Mod compatibility.
Environment
- Environment:
Debian, minecraft 1.16.2, [email protected]+build.397-1.16, [email protected]+1.16.2, [email protected]
I think this is on their end. They add methods to the class without making the method names unique.
We're using an accessor mixin of which one can have multiple copies using the same name usually.