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...
Nameview_distance
ObjectWorldTag
InputElementTag(Number)
Related Tags<WorldTag.view_distance> Returns the view distance of this world. Chunks are visible to players inside this radius. (...)
<server.view_distance> Returns the server's current view distance.
DescriptionSets this world's view distance. All chunks within this radius of a player will be visible to that player.
Input should be a number from 2 to 32.
See also Mechanism:WorldTag.simulation_distance
Generated Example
- adjust <player.location.world> view_distance:1
Grouppaper
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/PaperWorldExtensions.java#L26