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 625 mechanisms...
Nameitem
ObjectEntityTag
InputItemTag
Related Tags<EntityTag.item> If the entity is a dropped item, returns the item represented by the entity. (...)
DescriptionIf the entity is a dropped item, sets the item represented by the entity.
If the entity is a trident, sets the trident item represented by the entity.
If the item is a throwable projectile, sets the display item for that projectile.
If the entity is an eye-of-ender, sets the item to be displayed and dropped by it.
If the entity is a fireball, sets the fireball's display item.
If the entity is an Item Display, sets the entity's display item.
Generated Example
- adjust <player> item:stick
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityItem.java#L161