Name | framed |
Object | EntityTag |
Input | ItemTag(|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.
|
Description | Sets 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 |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityFramed.java#L131 |