[1.16.2] Using Botania (and its mixins) in a development environment?
desht opened this issue · 5 comments
Version Information
Forge version: 1.16.2-33.0.42
Botania version: 1.16.2-407-SNAPSHOT (as pulled from http://maven.blamejared.com/)
Further Information
I'm adding Botania as a dev dependency in PneumaticCraft: Repressurized (as I have been since 1.12.2 days) :
compileOnly fg.deobf("vazkii.botania:Botania:${botania_version}:api")
runtimeOnly fg.deobf("vazkii.botania:Botania:${botania_version}")
However in 1.16.2, it looks like Botania's use of mixins doesn't sit well with a deobf'd development environment, since I get this crash in early startup: https://pastebin.com/0NEDa6SY
I seem to vaguely recall noticing some instructions about getting this to work, but I haven't been able to find them again since. Is there a trick to getting this working in a dev environment?
I guess we should copy this part of Patchouli's readme here, tbh
Nothing remaps refmaps back into your mappings with deobf dependencies and we have to rely on just disabling refmaps with setting mixin.env.disableRefMap
to true in your run configs.
Yep, that'll be where I noticed it :) Thanks.
Update: confirmed -Dmixin.env.disableRefMap=true
fixes the problem.
Hit another Botania-related crash, while running data generation (for PNC:R) - https://pastebin.com/U4VkirAZ
Forge made incompatible changes to data generators. Downgrade forge for now until we update Botania's forge version.
updated the readme
32288d4