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 651 mechanisms...
Namepotion_effects
ObjectEntityTag
InputListTag
Related Tags<EntityTag.effects_data> Returns the active potion effects on the entity, as a list of maps in Language:Potion Effect Format.
<EntityTag.has_effect[<effect>]> Returns whether the entity has a specified effect. (...)
DescriptionSet the entity's active potion effects.
Each item in the list must be a MapTag in Language:Potion Effect Format.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPotionEffects.java#L157