Name | <LocationTag.round_down> |
Returns | LocationTag |
Description | Returns a rounded-downward version of the LocationTag's coordinates.
That is, each component (X, Y, Z, Yaw, Pitch) is rounded downward (eg, 0.1 becomes 0.0, 0.5 becomes 0.0, 0.9 becomes 0.0). This is equivalent to the block coordinates of the location. |
Generated Example |
|
Group | math |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1625 |