net.minecraft.network.protocol.game

public class ClientboundTeleportEntityPacket

implements Packet<ClientGamePacketListener>

afw
net.minecraft.network.protocol.game.ClientboundTeleportEntityPacket
net.minecraft.class_2777
net.minecraft.network.packet.s2c.play.EntityPositionS2CPacket
net.minecraft.src.C_5135_
net.minecraft.network.protocol.game.PacketPlayOutEntityTeleport

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundTeleportEntityPacket>
a
STREAM_CODEC
field_48004
CODEC
f_315967_
private final int
b
id
field_12705
entityId
f_133529_
private final double
c
x
field_12703
x
f_133530_
private final double
d
y
field_12702
y
f_133531_
private final double
e
z
field_12701
z
f_133532_
private final byte
f
yRot
field_12707
yaw
f_133533_
private final byte
g
xRot
field_12706
pitch
f_133534_
private final boolean
h
onGround
field_12704
onGround
f_133535_

Constructor summary

ModifierConstructor
public (Entity entity)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vw arg0)
write(FriendlyByteBuf arg0)
method_55949(class_2540 arg0)
write(PacketByteBuf buf)
m_133546_(C_4983_ arg0)
public PacketType<ClientboundTeleportEntityPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(abu arg0)
handle(ClientGamePacketListener arg0)
method_11922(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public int
b()
getId()
method_11916()
getEntityId()
m_133545_()
public double
e()
getX()
method_11917()
getX()
m_133548_()
public double
f()
getY()
method_11919()
getY()
m_133549_()
public double
g()
getZ()
method_11918()
getZ()
m_133550_()
public byte
h()
getyRot()
method_11920()
getYaw()
m_133551_()
public byte
i()
getxRot()
method_11921()
getPitch()
m_133552_()
public boolean
j()
isOnGround()
method_11923()
isOnGround()
m_133553_()