add direction to coords

This commit is contained in:
Bella 2020-03-12 19:47:28 -04:00
parent e53b6a8b3f
commit 6f54b93edc
No known key found for this signature in database
GPG Key ID: 03B01AC937D1C89C
1 changed files with 3 additions and 1 deletions

View File

@ -423,6 +423,8 @@ public class KamiGUI extends GUI {
int hposX = (int) (mc.player.posX * f);
int hposZ = (int) (mc.player.posZ * f);
String direction = mc.player.getHorizontalFacing().toString();
coordsLabel.setText(String.format(" %sf%,d%s7, %sf%,d%s7, %sf%,d %s7(%sf%,d%s7, %sf%,d%s7, %sf%,d%s7)",
KamiMod.colour,
posX,
@ -442,7 +444,7 @@ public class KamiGUI extends GUI {
KamiMod.colour,
hposZ,
KamiMod.colour
));
) + KamiMod.colour + "r " + direction.toUpperCase());
}
});
frame.addChild(coordsLabel);