Posted June 22, 20196 yr So I wanted to integrate LLibrary into my mod, so I added this to my build.gradle: dependencies { deobfCompile "net.ilexiconn:llibrary:1.7.19-1.12.2" deobfCompile "net.ilexiconn:llibrary-core:1.0.11-1.12.2" } This worked fine. I'm using Forge 1.12.2-14.23.5.2816, which LLibrary asks for (well not exactly 2816, but 2771 or higher) However, when I launch the game, the game crashes with this error: java.lang.NoSuchMethodError: net.minecraft.util.ResourceLocation.getNamespace()Ljava/lang/String; at net.ilexiconn.llibrary.client.model.tabula.TabulaModelHandler.accepts(TabulaModelHandler.java:173) at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:123) at net.minecraftforge.client.model.ModelLoader.registerVariant(ModelLoader.java:235) at net.minecraft.client.renderer.block.model.ModelBakery.loadBlock(ModelBakery.java:153) at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:223) at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:150) at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:121) at net.minecraft.client.Minecraft.init(Minecraft.java:560) at net.minecraft.client.Minecraft.run(Minecraft.java:422) at net.minecraft.client.main.Main.main(Main.java:118) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) at GradleStart.main(GradleStart.java:25) I checked ResourceLocation to see if the Method exists, and sure enough, it doesn't. I tried up- and downgrading forge to various versions, but nothing seems to work. What am I missing here?
June 22, 20196 yr Do you have the deobfuscated version of the mods you want to use as libaries in your Build Path? I mean like proper deobf's versions .. i have seen that causing errors after compiling the mod and running it & while compiling Edited June 22, 20196 yr by Oscarita25
June 23, 20196 yr Author Figured it out, needed to include compile "net.ilexiconn:llibrary:1.7.9-1.12.2:dev" instead of deobfCompile "net.ilexiconn:llibrary:1.7.19-1.12.2"
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.