Posted October 20, 201411 yr I'm trying to bind a texture to my item, but it appears not to be working, i'm using ForgeHooksClient.bindTexture(). Is it in a different class in 1.7, or a new method? There's 10 types of people in this world; Those that understand binary and those that don't.
October 20, 201411 yr do you mean you are trying to set the item texture? if so you are doing it very wrong. Or are you using a custom item renderer? I am the author of Draconic Evolution
October 20, 201411 yr yeah i agree, to set a texture one way is to put @SideOnly(Side.CLIENT) public void registerIcons(IIconRegister par1IconRegister) { this.itemIcon = par1IconRegister.registerIcon(Mod_Id + ":Texture_name"); }
October 20, 201411 yr Or, better yet, call setTextureName("modid:name") in the constructor. Check out my mod, Realms of Chaos, here. If I helped you, be sure to press the "Thank You" button!
October 20, 201411 yr Author Custom item renders, am aware of using setTextureName, trying to give the item a model whilst in hand. There's 10 types of people in this world; Those that understand binary and those that don't.
October 20, 201411 yr then use Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(**your mod in lower case** , "textures/models/YOURIMAGE.png"));
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.