1
Adding Textures
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");
}
}
I'm using forge 1.6 Please help.
I'm using {
func_111206_d("ModID:PNGName");
}
}
Create an account or sign in to comment.
2
^ That doesn't work, anyone else? I might have configured something wrong :3
Hi
For item textures:
in the item class, use
And for block textures:
in the block class, use
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
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