net.minecraft.network.protocol.game

public class ServerboundPlayerAbilitiesPacket

implements Packet<ServerGamePacketListener>

ahl
net.minecraft.network.protocol.game.ServerboundPlayerAbilitiesPacket
net.minecraft.class_2842
net.minecraft.network.packet.c2s.play.UpdatePlayerAbilitiesC2SPacket
net.minecraft.src.C_5174_
net.minecraft.network.protocol.game.PacketPlayInAbilities

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ServerboundPlayerAbilitiesPacket>
a
STREAM_CODEC
field_48206
CODEC
f_314572_
private static final int
b
FLAG_FLYING
field_33362
FLYING_MASK
f_179707_
private final boolean
c
isFlying
field_12948
flying
f_134254_

Constructor summary

ModifierConstructor
public (Abilities abilities)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vw arg0)
write(FriendlyByteBuf arg0)
method_55987(class_2540 arg0)
write(PacketByteBuf buf)
m_134265_(C_4983_ arg0)
public PacketType<ServerboundPlayerAbilitiesPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(agi arg0)
handle(ServerGamePacketListener arg0)
method_12339(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public boolean
b()
isFlying()
method_12346()
isFlying()
m_134264_()