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 664 mechanisms...
Namevariant
ObjectEntityTag
InputElementTag
Related Tags<EntityTag.variant> (Property) Returns which variant a chicken, copper golem, cow, pig, wolf, or zombie nautilus is. (...)
Description(Property) Sets which variant a chicken, copper golem, cow, pig, wolf, or zombie nautilus is.
A list of valid chicken variants can be found at 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Chicken.Variant.html.
A list of valid copper golem variants can be found at 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/CopperGolem.CopperWeatherState.html.
A list of valid cow variants can be found at 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Cow.Variant.html.
A list of valid pig variants can be found at 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Pig.Variant.html.
A list of valid wolf variants can be found at 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Wolf.Variant.html.
A list of valid zombie nautilus variants can be found at 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/ZombieNautilus.Variant.html.
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityVariant.java#L33