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...
Nameattack_range
ObjectNPCTag
InputElementTag(Decimal)
Related Tags<NPCTag.attack_range> Returns the NPC's current navigator attack range limit.
DescriptionSets the maximum attack distance of the NPC.
Generated Example
- adjust <npc> attack_range:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1778