public class Position extends Object
Constructor and Description |
---|
Position(double x,
double y,
double z,
float yaw,
float pitch,
boolean onGround) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
float |
getPitch()
Pitch axis
|
double |
getX()
X axis
|
double |
getY()
Y axis
|
float |
getYaw()
Yaw axis
|
double |
getZ()
Z axis
|
int |
hashCode() |
boolean |
isOnGround()
Does the player is on ground
|
String |
toString() |
public Position(double x, double y, double z, float yaw, float pitch, boolean onGround)
public double getX()
public double getY()
public double getZ()
public float getYaw()
public float getPitch()
public boolean isOnGround()
protected boolean canEqual(Object other)
Copyright © 2019–2022. All rights reserved.