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 2441 tags...
DescriptionReturns a list of all potion effects on this item, in the same format as the MapTag input to the mechanism.
This applies to Potion items, Tipped Arrow items, and Suspicious Stews.
Note that for potions or tipped arrows (not suspicious stew) the first value in the list is the potion's base type.
All subsequent entries are effect data.
Generated Example
- foreach <player.item_in_hand.effects_data> as:entry:
    - narrate "found <[entry]>"