I dont now if u can help me, but I have a problem with a Mod and dont know how to deal with it.
My Mod Should show u in the top of youre Minecraft youre currently position, and it works, but not really good. After the position X, for example, there are many different numbers it looks like this: *Click*
I only want to see the 689.
Source:
Double drawX = Double.valueOf(Minecraft.getMinecraft().thePlayer.posX);
Wrapper.fr.drawString( "§7" + "[§6X§7] " + "§f" + drawX, 2, 12, 16776960);
Double drawY = Double.valueOf(Minecraft.getMinecraft().thePlayer.posY);
Wrapper.fr.drawString( "§7" + "[§6Y§7] " + "§f" + drawY, 2, 22, 16776960);
Double drawZ = Double.valueOf(Minecraft.getMinecraft().thePlayer.posZ);
Wrapper.fr.drawString( "§7" + "[§6Z§7] " + "§f" + drawZ, 2, 32, 16776960);