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...
Nameadd_attribute_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. (...)
DescriptionAdds attribute modifiers to an entity without altering existing modifiers.
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#L338