Posted July 24, 201312 yr I'm using 1.6.2 Forge, and I was wondering where I put my textures and what method I place into my Item class for the texture. Kain
July 24, 201312 yr @Override public void registerIcons(IconRegister reg){ this.itemIcon = reg.registerIcon("yourmodid:texturename"); } on your hard drive: mcp/src/minecraft/assets/yourmodid/items/texturename.png or mcp/src/minecraft/assets/yourmodid/blocks/texturename.png yourmodid must be all lower case Hydroflame is invalid hydroflame is valid how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
July 24, 201312 yr Author Would this work too? @Override public void registerIcons(IconRegister reg) { this.itemIcon = reg.registerIcon("deathman12e3." + this.getUnlocalizedName() + ".png"); } Kain
July 24, 201312 yr @Override public void registerIcons(IconRegister reg) { this.itemIcon = reg.registerIcon("deathman12e3"+":" + this.getUnlocalizedName()); } no .png and you NEED ABSOLUTELLY 100% FOR SURE a colon ":" between your modid and your texture name how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
July 24, 201312 yr You can also put this at the end of your item constructors: .func_111206_d("yourmodid:texturename") Your textures MUST be in mcp/src/minecraft/yourmodid/textures/items/texturename.png If you do not have those folders already, create them!
July 25, 201312 yr Author I have this in my error log 2013-07-25 11:52:27 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: deathman12e3:textures/items/item.woodPaxel.png Here's a little folder tree src >minecraft >>deathman12e3 >>>textures >>>>items >>>>>woodPaxel.png Kain
July 25, 201312 yr deathman12e3:textures/items/item.woodPaxel.png src >minecraft >>deathman12e3 >>>textures >>>>items >>>>>woodPaxel.png you can figure this one out ? how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
July 25, 201312 yr Author I already tried renaming it to item.woodPaxel. I have no clue what to do, do I need items/item/woodPaxel? Kain
July 25, 201312 yr deathman12e3:textures/items/item.woodPaxel<- says its looking for the file names: "item.woodPaxel" src >minecraft >>deathman12e3 >>>textures >>>>items >>>>>woodPaxel.png <- there is no file named "item.woodPaxel" deathman12e3:textures/items/woodPaxel OR src >minecraft >>deathman12e3 >>>textures >>>>items >>>>>item.woodPaxel.png how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
July 25, 201312 yr That is because the string is truncated before the ".". It is reserved for removing the file extension, don't use it.
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.