Jump to content

Recommended Posts

Posted

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);

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.