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<LocationTag.ce_drawer_item_quantity[(<data_key>)]>
ReturnsElementTag(Number)
DescriptionReturns how many items the CraftEngine drawer at the location currently holds.
Returns nothing if the block is not a CraftEngine drawer.
Example
# Warn the player when the drawer is running low.
- if <player.cursor_on.ce_drawer_item_quantity.if_null[0]> < 64:
    - narrate "<&c>This drawer is running low."
Groupworld
RequiresCraftEngine
Sourcehttps://github.com/MINEZ/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/utilities/craftengine/CraftEngineTags.java#L84