This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Like leather armor does, you can make white items become a color without adding various images, you can only
Here a example:
The white sword!
So, you will need to add this code for setting this item has color.
public boolean hasColor(ItemStack par1ItemStack) { return true; }
After adding this code, you will need to set color.
Add this code:
@SideOnly(Side.CLIENT) public int getColorFromItemStack(ItemStack par1ItemStack, int par2) { return 0x0066ff; //add 0x + Hexadecimal color }
Here how it will look in game:
Result
Have a nice day!!!
Like leather armor does, you can make white items become a color without adding various images, you can only
Here a example:
So, you will need to add this code for setting this item has color.
public boolean hasColor(ItemStack par1ItemStack) { return true; }After adding this code, you will need to set color.
Add this code:
@SideOnly(Side.CLIENT) public int getColorFromItemStack(ItemStack par1ItemStack, int par2) { return 0x0066ff; //add 0x + Hexadecimal color }Here how it will look in game:
Result
Have a nice day!!!