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...
Namepath_distance_margin
ObjectNPCTag
InputElementTag(Decimal)
Related Tags<NPCTag.path_distance_margin> Returns the NPC's current pathfinding distance margin. That is, how close it needs to get to individual points along its path.
DescriptionSets the NPC's path distance margin.
Generated Example
- adjust <npc> path_distance_margin:1.5
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1918