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 625 mechanisms...
Nameattribute_modifiers
ObjectEntityTag
InputMapTag
Related Tags<EntityTag.has_attribute> Returns whether the entity has the named attribute. (...)
<EntityTag.attribute_modifiers> Returns a map of all attribute modifiers on the entity, with key as the attribute name and value as a list of modifiers, (...)
<EntityTag.attribute_default_value> Returns the default value of the named attribute for the entity. (...)
<EntityTag.attribute_base_value> Returns the base value of the named attribute for the entity. (...)
<EntityTag.attribute_value> Returns the final calculated value of the named attribute for the entity. (...)
DescriptionSets the attribute modifiers of an entity.
This is a SET operation, meaning pre-existing modifiers are removed.
For input format details, refer to Language:attribute modifiers.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAttributeModifiers.java#L243