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