S18PacketEntityTeleport
getEntity():
Entity
getEntity():
Entity
Returns an Entity
object representing the entity associated with this teleport packet. This method provides access to the entity that is being teleported.
getX(): double
getX(): double
Retrieves the X-coordinate of the entity's teleportation destination.
getY(): double
getY(): double
Retrieves the Y-coordinate of the entity's teleportation destination.
getZ(): double
getZ(): double
Retrieves the Z-coordinate of the entity's teleportation destination.
getYaw(): double
getYaw(): double
Returns the yaw (horizontal rotation) of the entity at the teleportation destination.
getPitch(): double
getPitch(): double
Provides the pitch (vertical rotation) of the entity at the teleportation destination.
getOnGround(): boolean
getOnGround(): boolean
Determines whether the entity is on the ground at the teleportation destination. Returns true if the entity is on the ground, false otherwise.
Last updated