net.minecraft.network.protocol.game

public class ClientboundRotateHeadPacket

implements Packet<ClientGamePacketListener>

aej
net.minecraft.network.protocol.game.ClientboundRotateHeadPacket
net.minecraft.class_2726
net.minecraft.network.packet.s2c.play.EntitySetHeadYawS2CPacket
net.minecraft.src.C_5104_
net.minecraft.network.protocol.game.PacketPlayOutEntityHeadRotation

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundRotateHeadPacket>
a
STREAM_CODEC
field_47963
CODEC
f_315782_
private final int
b
entityId
field_12437
entityId
f_132963_
private final byte
c
yHeadRot
field_12436
headYaw
f_132964_

Constructor summary

ModifierConstructor
public (Entity entity, byte headYaw)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vw arg0)
write(FriendlyByteBuf arg0)
method_55910(class_2540 arg0)
write(PacketByteBuf buf)
m_132978_(C_4983_ arg0)
public PacketType<ClientboundRotateHeadPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(abu arg0)
handle(ClientGamePacketListener arg0)
method_11788(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public Entity
a(dcw arg0)
getEntity(Level arg0)
method_11786(class_1937 arg0)
getEntity(World world)
m_132969_(C_1596_ arg0)
public byte
b()
getYHeadRot()
method_11787()
getHeadYaw()
m_132977_()