Closed Hauteknits closed 3 years ago
Also adding the line of code in question doesn't seem to throw the same error
It looks like the dependency is not being decompiled properly. The method name func_191196_a
is a SRG name, but in a development environment the MCP name create
is expected. This issue is usually caused by not passing the dependency through ForgeGradle's deobfuscator.
This can be done by simply passing the maven coordinate through the fg.deobf
method. This is standard practice but it looks like I forgot to include it in the readme for this repo.
compile fg.deobf("net.darkhax.bookshelf:Bookshelf-1.16.5:${bookshelf_version}")
Awesome, worked as expected. Thanks for the quick response. As I said, I'm a newbie modder and didn't know this trick :)
Using forge 1.16.5-36.1.0. Using Bookshelf 10.0.8 loaded via Gradle.
After setting up gradle to load Bookshelf as a dependency, it fails to load with a "NoSuchMethodError." Searching the stacktrace, the method very clearly is defined, however, the stacktrace doesn't use the tags, which makes me thing that something got messed up between using tags and identifiers
I haven't begun to use bookshelf yet, I just wanted to see if the item I made loaded in w/ my custom creative tab