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 555 mechanisms...
Nameattribute_base_values
ObjectEntityTag
InputMapTag
Related Tags<EntityTag.has_attribute> Returns whether the entity has the named attribute. (...)
<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 base value of an entity's attributes.
Specify a MapTag where the keys are attribute names, and values are the new base values.
Valid attribute names are listed at 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/attribute/Attribute.html
See also Language:attribute modifiers.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAttributeBaseValues.java#L169