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 656 mechanisms...
Namepotion_effects
ObjectEntityTag
InputListTag
Related Tags<EntityTag.effects_data> Returns the active potion effects on the entity, or the potion effects an arrow/area effect cloud will apply. (...)
<EntityTag.has_effect[<effect>]> Returns whether the entity has a specified effect, or whether an arrow/area effect cloud will apply a certain effect. (...)
DescriptionSet the entity's active potion effects, or the potion effects an arrow/area effect cloud will apply.
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#L169