Package com.mrivanplays.ivancord.api
Class Position
java.lang.Object
com.mrivanplays.ivancord.api.Position
Represents a player position
-
Constructor Summary
ConstructorDescriptionPosition
(double x, double y, double z, float yaw, float pitch, boolean onGround) -
Method Summary
-
Constructor Details
-
Position
public Position(double x, double y, double z, float yaw, float pitch, boolean onGround)
-
-
Method Details
-
getX
public double getX()X axis -
getY
public double getY()Y axis -
getZ
public double getZ()Z axis -
getYaw
public float getYaw()Yaw axis -
getPitch
public float getPitch()Pitch axis -
isOnGround
public boolean isOnGround()Does the player is on ground -
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-