Oh, woops, sorry In which case, definitely don't put textures in the minecraft.jar, put them in a folder called 'textures' in your mod package, and then a folder within that called armour (or armor if you're American). Then put a method called
public String getArmorTextureFile(ItemStack stack)
with the @Override annotation before it, then this code inside it:
This should work, but remember to actually read it and replace all the necessary things.
that's not how I did it, I used
RenderingRegistry.addNewArmourRendererPrefix("name_of_armor_here");
then just put the textures under that name into a folder called armor (made to mimick the jar), and passed in the int the above method returned to the armor when I created it
that's not how I did it, I used
RenderingRegistry.addNewArmourRendererPrefix("name_of_armor_here");
then just put the textures under that name into a folder called armor (made to mimick the jar), and passed in the int the above method returned to the armor when I created it
this work but like i said before no custom textures can anyone help me or give a tutoral as i can not find one for 1.5.x anywhere thanks
it does say forge in the title
that's not how I did it, I used
RenderingRegistry.addNewArmourRendererPrefix("name_of_armor_here");
then just put the textures under that name into a folder called armor (made to mimick the jar), and passed in the int the above method returned to the armor when I created it
and this is what i have in my main mod class
2013-05-11 11:46:09 [INFO] [STDERR] java.lang.NullPointerException
2013-05-11 11:46:09 [INFO] [STDERR] at mods.extratools.item.ItemBlackDiamondArmor.getArmorTextureFile(ItemBlackDiamondArmor.java:22)
2013-05-11 11:46:09 [INFO] [STDERR] at net.minecraft.item.Item.getArmorTexture(Item.java:1112)
2013-05-11 11:46:09 [INFO] [STDERR] at net.minecraftforge.client.ForgeHooksClient.getArmorTexture(ForgeHooksClient.java:61)
2013-05-11 11:46:09 [INFO] [STDERR] at net.minecraft.client.renderer.entity.RenderPlayer.setArmorModel(RenderPlayer.java:67)
2013-05-11 11:46:09 [INFO] [STDERR] at net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass(RenderPlayer.java:503)
2013-05-11 11:46:09 [INFO] [STDERR] at net.minecraft.client.renderer.entity.RenderLiving.doRenderLiving(RenderLiving.java:127)
2013-05-11 11:46:09 [INFO] [STDERR] at net.minecraft.client.renderer.entity.RenderPlayer.renderPlayer(RenderPlayer.java:174)
2013-05-11 11:46:09 [INFO] [STDERR] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:542)
2013-05-11 11:46:09 [INFO] [STDERR] at net.minecraft.client.renderer.entity.RenderManager.renderEntityWithPosYaw(RenderManager.java:310)
2013-05-11 11:46:09 [INFO] [STDERR] at net.minecraft.client.gui.inventory.GuiInventory.drawPlayerOnGui(GuiInventory.java:118)
2013-05-11 11:46:09 [INFO] [STDERR] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:775)
2013-05-11 11:46:09 [INFO] [STDERR] at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:107)
2013-05-11 11:46:09 [INFO] [STDERR] at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:43)
2013-05-11 11:46:09 [INFO] [STDERR] at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:664)
2013-05-11 11:46:09 [INFO] [STDERR] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1021)
2013-05-11 11:46:09 [INFO] [STDERR] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:870)
2013-05-11 11:46:09 [INFO] [STDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:759)
2013-05-11 11:46:09 [INFO] [STDERR] at java.lang.Thread.run(Unknown Source
Could you explain yours some more please