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 637 mechanisms...
Namepotion
ObjectEntityTag
InputItemTag
Related Tags<EntityTag.potion> If the entity is a Tipped Arrow, returns an ItemTag of a potion with the base potion data of the arrow. (...)
DescriptionInput must be a potion item!
If the entity is a Tipped Arrow, sets the arrow's base potion data based on the item input.
If the entity is a splash Potion, sets the splash potion's full potion data from the item input.
Generated Example
- adjust <player> potion:stick
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPotion.java#L113