Sends a message to the server.
Message - The message to be sent
Returns double
Gets the current speed of the player
Returns double
Gets the base move speed of the player
Sets the player's speed
speed - The player's speed factor.
Makes the player jump
Returns boolean
Checks if the player is on the ground.
Returns boolean
Checks if the player is collided horizontally.
Returns boolean
Checks if the player is collided vertically.
Returns float
Gets the player's yaw
Returns float
Gets the player's pitch
Returns double
Gets the player's motion X
Sets the player's motion X
motion - The motion X amount
Returns double
Gets the player's motion Y
Sets the player's motion Y
motion - The motion Y amount
Returns double
Gets the player's motion Z
Sets the player's motion Z
motion - The motion Y amount
Returns double
Gets the player's X
Returns double
Gets the player's Y
Returns double
Gets the player's Z
Sets the player's position
x - The X position
y - The Y position
z - The Z position
Returns boolean
Checks whether the player is flying or not
Sets whether the player is flying or not
flying - Whether the player is flying or not
Attacks an entity
entity - The entity to attack
Returns double
Gets the distance to an entity
Sends a packet to the server
packet - The packet to send
Sends a packet to the server without firing PacketEvent
packet - The packet to send
Returns double
Gets how far the player has fallen
Sets how far the player has fallen
distance - How far the player has fallen
Returns boolean
Checks whether the player is moving or not