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 632 mechanisms...
Namewander_xrange
ObjectNPCTag
InputElementTag(Number)
Related Tags<NPCTag.wander_xrange> Returns the xrange for the NPC's wander Waypoint Provider, if that provider is in use.
DescriptionSets the xrange for an NPC's wander path.
Mechanism:NPCTag.waypoint_provider must be set to 'wander' before setting wander_xrange.
Generated Example
- adjust <npc> wander_xrange:4
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1409