net.minecraft.network.protocol.game

public class ClientboundRotateHeadPacket

implements Packet<ClientGamePacketListener>

aef
net.minecraft.network.protocol.game.ClientboundRotateHeadPacket
net.minecraft.class_2726
net.minecraft.network.packet.s2c.play.EntitySetHeadYawS2CPacket
net.minecraft.network.protocol.game.PacketPlayOutEntityHeadRotation

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(vl arg0)
write(FriendlyByteBuf arg0)
method_55910(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ClientboundRotateHeadPacket>
a()
type()
method_65080()
getPacketType()
public void
a(abl arg0)
handle(ClientGamePacketListener arg0)
method_11788(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public Entity
a(dgj arg0)
getEntity(Level arg0)
method_11786(class_1937 arg0)
getEntity(World world)
public float
b()
getYHeadRot()
method_11787()
getHeadYaw()