Make a custom ItemBlock class and change
public String getItemDisplayName(ItemStack par1ItemStack)
{
return ("" + StringTranslate.getInstance().translateNamedKey(this.getLocalizedName(par1ItemStack))).trim();
}
to
public String getItemDisplayName(ItemStack par1ItemStack)
{
return ("§<your_color_code>" + StringTranslate.getInstance().translateNamedKey(this.getLocalizedName(par1ItemStack))).trim();
}
3 replies
Important Information
By using this site, you agree to our Terms of Use.