get %i:ITEMSTACK_POSSESSIVE% (display name|name) — Expressions

get %i:ITEMSTACK_POSSESSIVE% (display name|name)
Item1.0.0

Description

Returns the display name of an item stack, or the material name if none is set.

Examples

set name to get item's display name

All Possible Usages (2)

Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.

get <i> display name
get <i> name

Related (Item)