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 644 mechanisms...
Nametrap_time
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.trapped> Returns whether the skeleton horse is trapped. (...)
DescriptionSets the skeleton horse's trap time.
Trap time will go up every tick for as long as the horse is trapped (see Tag:EntityTag.trapped).
A trap time greater than 18000 ticks (15 minutes) will despawn the horse on the next tick.
Generated Example
- adjust <player> trap_time:1m
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityTrapTime.java#L58