Jump to content

[1.12.2] NoSuchMethodError: ResourceLocation.getNamespace()


Tschipp

Recommended Posts

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?

Link to comment
Share on other sites

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 by Oscarita25
Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.