S18PacketEntityTeleport
getEntity(): Entity
getEntity(): EntityReturns 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(): doubleRetrieves the X-coordinate of the entity's teleportation destination.
getY(): double
getY(): doubleRetrieves the Y-coordinate of the entity's teleportation destination.
getZ(): double
getZ(): doubleRetrieves the Z-coordinate of the entity's teleportation destination.
getYaw(): double
getYaw(): doubleReturns the yaw (horizontal rotation) of the entity at the teleportation destination.
getPitch(): double
getPitch(): doubleProvides the pitch (vertical rotation) of the entity at the teleportation destination.
getOnGround(): boolean
getOnGround(): booleanDetermines whether the entity is on the ground at the teleportation destination. Returns true if the entity is on the ground, false otherwise.
Last updated