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.network.protocol.game.PacketPlayInAbilities

Field summary

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

Constructor summary

ModifierConstructor
public (Abilities abilities)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vl arg0)
write(FriendlyByteBuf arg0)
method_55987(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ServerboundPlayerAbilitiesPacket>
a()
type()
method_65080()
getPacketType()
public void
a(agg arg0)
handle(ServerGamePacketListener arg0)
method_12339(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public boolean
b()
isFlying()
method_12346()
isFlying()