Jump to content

NoSuchMethodError ForgeHooksClient.getArmorTexture in latest version


Noppes

Recommended Posts

People who use forge #611, dont get get this crash and people with the newest version do.

 

Players can equip armor to my npcs and I was using ForgeHooksClient.getArmorTexture to get the texture location. I guess the function changed and now its not backwards compatible anymore? Could perhaps the old function be readded only depricated and be removed at a mayor forge update?

 

java.lang.NoSuchMethodError: net.minecraftforge.client.ForgeHooksClient.getArmorTexture(Lnet/minecraft/item/ItemStack;Ljava/lang/String;)Ljava/lang/String;
at noppes.npcs.entity.renderer.RenderNPCHumanMale.setArmorModel(RenderNPCHumanMale.java:65)
at noppes.npcs.entity.renderer.RenderNPCHumanMale.func_77032_a(RenderNPCHumanMale.java:363)
at net.minecraft.client.renderer.entity.RenderLiving.func_77031_a(SourceFile:84)
at noppes.npcs.entity.renderer.RenderNPCInterface.func_77031_a(RenderNPCInterface.java:200)
at noppes.npcs.entity.renderer.RenderNPCHumanMale.renderPlayer(RenderNPCHumanMale.java:142)
at noppes.npcs.entity.renderer.RenderNPCHumanMale.func_76986_a(RenderNPCHumanMale.java:380)
at net.minecraft.client.renderer.entity.RenderManager.func_78719_a(RenderManager.java:310)
at net.minecraft.client.renderer.entity.RenderManager.func_78720_a(RenderManager.java:279)
at net.minecraft.client.renderer.RenderGlobal.func_72713_a(RenderGlobal.java:508)
at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1150)
at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:991)
at net.minecraft.src.EntityRendererProxy.func_78480_b(EntityRendererProxy.java:36)
at weather.EntityRendererProxyWeatherMini.func_78480_b(EntityRendererProxyWeatherMini.java:50)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:867)
at net.minecraft.client.Minecraft.run(Minecraft.java:756)
at java.lang.Thread.run(Unknown Source)

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.



×
×
  • Create New...

Important Information

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