Posted September 1, 20187 yr I tried getUnlocalizedName() + ".name", but if the item has metadata like dye, it doesn't work. What can I do?
September 1, 20187 yr Author 1 minute ago, diesieben07 said: You must call ItemStack#getDisplayName only. Is that can change by anvil? I need the vanilla name...
September 1, 20187 yr Author Just now, diesieben07 said: Use Item#getItemStackDisplayName(ItemStack) instead then. Thank you very much!!!
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.