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 539 mechanisms...
Nameframed
ObjectEntityTag
InputItemTag(|ElementTag)
Related Tags<EntityTag.has_framed_item> If the entity is an item frame, returns whether the frame has an item in it.
<EntityTag.framed_item> If the entity is an item frame, returns the item currently framed.
<EntityTag.framed_item_rotation> If the entity is an item frame, returns the rotation of the item currently framed.
DescriptionSets the entity's framed item and optionally the rotation as well.
Valid rotations: 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Rotation.html
For example: framed:diamond_sword|clockwise
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityFramed.java#L131