Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Question Can't find player position z

Joined
May 23, 2018
Messages
2
Hi guys,

Just started coding my first bot and I am already stuck. I can't find the z-position of the player. I already tried to use

Code:
Coordinate playerPos = Players.getLocal().getPosition();
System.out.println(playerPos);
System.out.println(playerPos.getHeight());

This is the output.
Knipsel.png


Can someone tell me what I'm doing wrong.
 
Top