Just wondering if I can round the coordinates of a player to nearest block? Is this possible?
I did a bit of searching and, I can't find anything (not sure if I'm searching the wrong thing or what...)
Now, I better explain this a bit more rather than just leaving it for a week and coming back to find that someone has replied 'give more info plz'...
What I mean is, say a player has stopped, and they're coordinates are something like 158.6, 180.0, -286.4. *randomly made up. Now, can I round that, with a command block, to teleport the player to 158.0, 180.0, -286.0?
Just wondering if I can round the coordinates of a player to nearest block? Is this possible?
I did a bit of searching and, I can't find anything (not sure if I'm searching the wrong thing or what...)
Now, I better explain this a bit more rather than just leaving it for a week and coming back to find that someone has replied 'give more info plz'...
What I mean is, say a player has stopped, and they're coordinates are something like 158.6, 180.0, -286.4. *randomly made up. Now, can I round that, with a command block, to teleport the player to 158.0, 180.0, -286.0?
Any help'll be appreciated!
Please, everyone, if your post is solved, edit the name and mark it [SOLVED]. Period.
Absolutely.
See align
Huzzah!
Please, everyone, if your post is solved, edit the name and mark it [SOLVED]. Period.