Location to short String
Turn a location in a simple and short string. No decimal numbers
This commit is contained in:
@@ -45,3 +45,4 @@ fun SimpleLocation3D.toVector() = Vector(x, y, z)
|
||||
* Returns a simple string in the format of `[x, y, z]`.
|
||||
*/
|
||||
fun Location.toSimpleString() = "[$x, $y, $z]"
|
||||
fun Location.toSimpleBlockString() = "[$blockX, $blockY, $blockZ]"
|
||||
|
Reference in New Issue
Block a user