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 557 mechanisms...
Namepatrol_target
ObjectEntityTag
InputLocationTag
Related Tags<EntityTag.patrol_target> If the entity is raider mob (like a pillager), returns whether the entity is allowed to join active raids.
DescriptionIf the entity is raider mob (like a pillager), changes whether the entity is allowed to join active raids.
Generated Example
- adjust <player> patrol_target:<npc.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPatrolTarget.java#L73