Denizen Script Tags


Tags are always written with a <between these marks>, and are critical to scripts, as the primary way to read data.
Learn about how tags work in The Beginner's Guide.


Showing 1 out of 2494 tags...
Name<ItemTag.item_name>
ReturnsElementTag
MechanismItemTag.item_name
Description(Property) Returns the item's default name.
The item's default name cannot be modified by a player and is displayed when Mechanism:ItemTag.display is not set.
If a display name is set, item_name will still retain its original value but will be hidden.
See also Language:Item Components.
By default, this will return the item's vanilla display name.
Generated Example
- narrate <player.item_in_hand.item_name>
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/datacomponents/ItemNameAdapter.java#L12