1

Adding Textures

TehEpicKewlioness's Avatar TehEpicKewlioness7/24/13 1:23 am
1 emeralds 189 2
7/24/2013 3:05 am
TehEpicKewlioness's Avatar TehEpicKewlioness
Hey, I can't seem to add textures to my items.
I'm using forge 1.6 Please help.

I'm using {
func_111206_d("ModID:PNGName");
}
}
Posted by TehEpicKewlioness's Avatar
TehEpicKewlioness
Level 22 : Expert Architect
44

Create an account or sign in to comment.

2

TehEpicKewlioness
07/24/2013 3:05 am
Level 22 : Expert Architect
TehEpicKewlioness's Avatar
^ That doesn't work, anyone else? I might have configured something wrong :3
1
Magicshancake_Pro
07/24/2013 2:15 am
Level 54 : Grandmaster Baconator
Magicshancake_Pro's Avatar
Hi
For item textures:
in the item class, use

@Override
public void registerIcons(IconRegister r)
{
this.itemIcon = r.registerIcons("yourModName:pictureName");
}


And for block textures:
in the block class, use

@Override
public void registerIcons(IconRegister r)
{
this.itemBlock = r.registerIcons("yourModName:pictureName");
}


You also need to have your textures in an assets folder, which goes in the src folder. Inside the assets folder, make a textures folder, inside that, make a folder called items and a folder called blocks. Item textures go in the items folder and block textures go in the blocks folder.
For example, the directory for an item texture, starting from the src folder:
src/minecraft/assets/yourModName/textures/items/itemName

Its kind of confusing, so if you need more clarification Ill try my best to help.
If this helped you, it would be cool if you subscribed to me.
Good luck,
Magicshancake
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome