Class ClientboundTeleportEntityPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundTeleportEntityPacket
- All Implemented Interfaces:
- Packet<ClientGamePacketListener>
public class ClientboundTeleportEntityPacket
extends Object
implements Packet<ClientGamePacketListener>
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionClientboundTeleportEntityPacket(FriendlyByteBuf p_179437_) ClientboundTeleportEntityPacket(Entity p_133538_) 
- 
Method SummaryModifier and TypeMethodDescriptionintgetId()doublegetX()bytegetxRot()doublegetY()bytegetyRot()doublegetZ()voidhandle(ClientGamePacketListener p_133544_) booleanvoidwrite(FriendlyByteBuf p_133547_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.PacketisSkippable, nextProtocol
- 
Field Details- 
idprivate final int id
- 
xprivate final double x
- 
yprivate final double y
- 
zprivate final double z
- 
yRotprivate final byte yRot
- 
xRotprivate final byte xRot
- 
onGroundprivate final boolean onGround
 
- 
- 
Constructor Details- 
ClientboundTeleportEntityPacket
- 
ClientboundTeleportEntityPacket
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- Packet<ClientGamePacketListener>
 
- 
handle- Specified by:
- handlein interface- Packet<ClientGamePacketListener>
 
- 
getIdpublic int getId()
- 
getXpublic double getX()
- 
getYpublic double getY()
- 
getZpublic double getZ()
- 
getyRotpublic byte getyRot()
- 
getxRotpublic byte getxRot()
- 
isOnGroundpublic boolean isOnGround()
 
-