Denizen Script Mechanisms


Mechanisms are found in object properties, the 'adjust' command, and similar. These are used to change the state of an object.
Learn about how mechanisms work in The Beginner's Guide.


Showing 1 out of 644 mechanisms...
Namedrinking_potion
ObjectEntityTag
InputItemTag
Related Tags<EntityTag.drinking_potion> Returns the potion item a witch is drinking, or air if none.
DescriptionSets the potion item a witch is drinking.
Generated Example
- adjust <player> drinking_potion:stick
Groupproperties
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/EntityDrinkingPotion.java#L86