Posted March 20, 201312 yr Hi, i wana update my mods to 1.5, but i can't figure out, how to define the texture path in the new version, does anyone know, how to add a basic Item Texture to an Item in 1.5? Tank you
March 20, 201312 yr in 1.5, we use func_94581_a for Item-textures and func_94332_a for Blocks. Here's an example for an item: public void func_94581_a(IconRegister iconRegister) { iconIndex = iconRegister.func_94245_a("ModName:gs"); } "ModName:gs" -> gs is the texture file, Resources is the folder. The whole path would look like this: /mods/ModName/textures/items/gs.png and for Blocks: /mods/ModName/textures/blocks/gs.png try searching for an answer, before asking for one ^^ here's the wiki-page: http://www.minecraftforge.net/wiki/Icons_and_Textures http://eastcrips.square7.ch/.0909DSsigMD/MF_Sig.png[/img] http://eastcrips.square7.ch/SigShop/MF-IC!6.php[/img]
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.