I think there's something fundamentally I don't understand.
I'm playing around with Botania and in my project I want to include it (and baubles) as dependencies. What I did is putting the de-obfuscate jars of these 2 mods into libs dir. From what I read this should be sufficient to include a mod as dependency. However when I run `gradlew runClient` the game crashes with java.lang.IllegalAccessError. The version I use of botania is r1.10-353 and baubles 1.5.2.
The first time it crash with forge 14.23.1.2607 (as of writing the newest), which happens at botania somewhere in a renderWandModeDisplay method of HUDHandler.java, its trying to access `remainingHighlightTicks` field in GuiIngame class. The behavior is whenever I try to select "wand of forest" in my toolbar mc crashes. I looked it up in intellij IDEA and found it is a protect field. So the crash makes sense.
Initially I thought it is because of forge version mismatch so I tried to use version 2555, and now it crashes even when loading, also IllegalAccessError.
From what I see in IDE `register` is a private static method.
I cloned botania's source from github which uses 2555 build version, import as a new project and everything seems to be fine. What confuses me most is in this project if I jump to the above two spots those fields are public!
does botania modified the way how forge source generated? Or is there something I did wrong? (basically all I do after unzipping is, copy all files begin with gradle, build.gradle and gitignore to an empty folder, run `setupDecompWorkspace` and `build`, import build.gradle into intellij IDEA and run `genIntellijRuns`). I really hope someone could clear my doubts. Also, in this scenario what should I do to use botania as dependency and not crashing?