Get Spigot default itemname?

Ne
1

I'm currently programming and wanted to find out the standard ItemName, i.e. The one that is displayed in the Minecraft client such as "iron bars" but I don't know how to get ahead, so I ask you do you have any idea? If aj I would appreciate an answer.

gl

Give it a try

itemStack.getItemMeta (). GetLocalizedName ();

or

itemStack.getType (). ToString ();