Denizen Script Tags


Tags are always written with a <between these marks>, and are critical to scripts, as the primary way to read data.
Learn about how tags work in The Beginner's Guide.


Showing 1 out of 2437 tags...
Name<MaterialTag.distance>
ReturnsElementTag(Number)
MechanismMaterialTag.distance
DescriptionReturns the horizontal distance between a scaffolding block and the nearest scaffolding block placed above a 'bottom' scaffold,
or between a leaves block and the nearest log (a distance of 7 will cause a leaf to decay if 'persistent' is also false, less than 7 will prevent decay).
Generated Example
- narrate "the number value is <material[stone].distance>"
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialDistance.java#L42