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 652 mechanisms...
Nameview_distance
ObjectPlayerTag
InputElementTag(Number)
Related Tags<PlayerTag.view_distance> Returns this player's view distance, or the view distance of the world they're in if unset.
DescriptionSets this player's view distance. Input must be a number between 2 and 32.
This will be reset when a player rejoins. Provide no input to unset.
Generated Example
- adjust <player> view_distance:2
Grouppaper
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/PaperPlayerExtensions.java#L152