net.minecraft.network.protocol.game

public record ClientboundPlayerRotationPacket

implements Packet<ClientGamePacketListener>

afq
net.minecraft.network.protocol.game.ClientboundPlayerRotationPacket
net.minecraft.class_10265
net.minecraft.network.packet.s2c.play.PlayerRotationS2CPacket

Field summary

Modifier and TypeField
private final float
b
yRot
comp_3230
yaw
private final boolean
c
relativeY
comp_4566
relativeYaw
private final float
d
xRot
comp_3231
pitch
private final boolean
e
relativeX
comp_4567
relativePitch
public static final StreamCodec<FriendlyByteBuf, ClientboundPlayerRotationPacket>
a
STREAM_CODEC
field_54516
CODEC

Constructor summary

ModifierConstructor
public (float yaw, boolean relativeYaw, float pitch, boolean relativePitch)

Method summary

Modifier and TypeMethod
public PacketType<ClientboundPlayerRotationPacket>
a()
type()
method_65080()
getPacketType()
public void
a(adb arg0)
handle(ClientGamePacketListener arg0)
method_64559(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public float
b()
yRot()
comp_3230()
yaw()
public boolean
e()
relativeY()
comp_4566()
relativeYaw()
public float
f()
xRot()
comp_3231()
pitch()
public boolean
g()
relativeX()
comp_4567()
relativePitch()