This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
package net.minecraft.src; import java.util.ArrayList; import net.minecraft.src.EnumArmorMaterial; import net.minecraft.src.ItemArmor; import net.minecraft.src.ItemStack; import net.minecraftforge.common.IArmorTextureProvider; public class Uber_Armor extends ItemArmor implements IArmorTextureProvider { public Uber_Armor(int var1, EnumArmorMaterial var2, int var3, int var4) { super(var1, var2, var3, var4); this.setCreativeTab(CreativeTabs.tabCombat); } private void setCreativeTab(CreativeTabs tabcombat) { // TODO Auto-generated method stub } public String getTextureFile() { return "/uber/uberitems.png"; } public String getArmorTextureFile(ItemStack itemstack){ if ( itemstack.itemID==Ubermod.RDHelmet.shiftedIndex|| itemstack.itemID==Ubermod.RDChestPlate.shiftedIndex|| itemstack.itemID==Ubermod.RDBoots.shiftedIndex){ return "/uber/armor/rd_1.png"; }if(itemstack.itemID==Ubermod.RDLeggings.shiftedIndex){ return "/uber/armor/rd_2.png"; }return "/uber/armor/rd_2.png"; } public void addCreativeItems(ArrayList itemList) { itemList.add(new ItemStack(this)); } }
It just repeats this
at net.minecraft.src.Uber_Armor.getArmorTextureFile(Uber_Armor.java:30)
2012-09-24 08:48:54 [INFO] [STDERR] at net.minecraftforge.client.ForgeHooksClient.getArmorTexture(ForgeHooksClient.java:213)
2012-09-24 08:48:54 [INFO] [STDERR] at net.minecraft.src.RenderPlayer.setArmorModel(RenderPlayer.java:41)
2012-09-24 08:48:54 [INFO] [STDERR] at net.minecraft.src.RenderPlayer.shouldRenderPass(RenderPlayer.java:416)
2012-09-24 08:48:54 [INFO] [STDERR] at net.minecraft.src.RenderLiving.doRenderLiving(RenderLiving.java:107)
2012-09-24 08:48:54 [INFO] [STDERR] at net.minecraft.src.RenderPlayer.renderPlayer(RenderPlayer.java:91)
2012-09-24 08:48:54 [INFO] [STDERR] at net.minecraft.src.RenderPlayer.doRender(RenderPlayer.java:450)
2012-09-24 08:48:54 [INFO] [STDERR] at net.minecraft.src.RenderManager.renderEntityWithPosYaw(RenderManager.java:188)
2012-09-24 08:48:54 [INFO] [STDERR] at net.minecraft.src.GuiInventory.func_74223_a(GuiInventory.java:106)
2012-09-24 08:48:54 [INFO] [STDERR] at net.minecraft.src.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:585)
2012-09-24 08:48:54 [INFO] [STDERR] at net.minecraft.src.GuiContainer.drawScreen(GuiContainer.java:57)
2012-09-24 08:48:54 [INFO] [STDERR] at net.minecraft.src.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:35)
2012-09-24 08:48:54 [INFO] [STDERR] at net.minecraft.src.GuiContainerCreative.drawScreen(GuiContainerCreative.java:519)
2012-09-24 08:48:54 [INFO] [STDERR] at net.minecraft.src.EntityRenderer.updateCameraAndRender(EntityRenderer.java:925)
2012-09-24 08:48:54 [INFO] [STDERR] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:868)
2012-09-24 08:48:54 [INFO] [STDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:761)
2012-09-24 08:48:54 [INFO] [STDERR] at java.lang.Thread.run(Unknown Source)
2012-09-24 08:48:55 [INFO] [STDERR] java.lang.NullPointerException
Here is my Armor File
Also when I wear it, anything in my hand disappears