net.minecraft.network.protocol.game

public class ClientboundRotateHeadPacket

implements Packet<ClientGamePacketListener>

afl
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(ws arg0)
write(FriendlyByteBuf arg0)
method_55910(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ClientboundRotateHeadPacket>
a()
type()
method_55846()
getPacketId()
public void
a(acr arg0)
handle(ClientGamePacketListener arg0)
method_11788(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public Entity
a(dhi arg0)
getEntity(Level arg0)
method_11786(class_1937 arg0)
getEntity(World world)
public float
b()
getYHeadRot()
method_11787()
getHeadYaw()