I have a small Minecraft modification, in which I now want to read the coordinates of the player.
with Minecraft.getMinecraft.thePlayer.posX I get all the coordinates. Since I only want the block coordinates, I split the string at the point:
String [] string1 = string.split (".");
However, the string array still has 0 objects afterwards, what am I doing wrong?
"\." or "\\." I'm not sure right now. And why do not you bring with you
player.getLocation ();
the location?
Is that just at the point, or always?
Only at the point and a few others
Thanks, it worked