S14PacketEntity
Last updated
Represents a packet that contains entity movement information
getEntity():
Entity
Gets the entity this movement packet is about
Returns
The entity instance
getOnGround():
boolean
Checks if the entity is on ground
Returns
boolean
True if the entity is on ground, false otherwise
getPacketID():
string
Get the ID of the packet.
Returns
string
The ID of the packet.
Inherited from
getPitch():
number
Gets the pitch rotation in degrees
Returns
number
The pitch angle
getX():
number
Gets the relative X movement
Returns
number
The X movement delta
getY():
number
Gets the relative Y movement
Returns
number
The Y movement delta
getYaw():
number
Gets the yaw rotation in degrees
Returns
number
The yaw angle
getZ():
number
Gets the relative Z movement
Returns
number
The Z movement delta
Last updated