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