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 2407 tags...
Name<PlayerTag.held_item_slot>
ReturnsElementTag(Number)
DescriptionReturns the slot location of the player's selected item.
Generated Example
- narrate "the number value is <player.held_item_slot>"
Synonyms (Search Aid)playertag.selected_hotbar_slot, playertag.hot_bar_slot
Sourcehttps://github.com/MINEZ/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1610