net.minecraft.network.protocol.game

public class ClientboundPlayerAbilitiesPacket

implements Packet<ClientGamePacketListener>

adn
net.minecraft.network.protocol.game.ClientboundPlayerAbilitiesPacket
net.minecraft.class_2696
net.minecraft.network.packet.s2c.play.PlayerAbilitiesS2CPacket
net.minecraft.network.protocol.game.PacketPlayOutAbilities

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundPlayerAbilitiesPacket>
a
STREAM_CODEC
field_47948
CODEC
private static final int
b
FLAG_INVULNERABLE
field_33336
INVULNERABLE_MASK
private static final int
c
FLAG_FLYING
field_33337
FLYING_MASK
private static final int
d
FLAG_CAN_FLY
field_33338
ALLOW_FLYING_MASK
private static final int
e
FLAG_INSTABUILD
field_33339
CREATIVE_MODE_MASK
private final boolean
f
invulnerable
field_12339
invulnerable
private final boolean
g
isFlying
field_12338
flying
private final boolean
h
canFly
field_12337
allowFlying
private final boolean
i
instabuild
field_12336
creativeMode
private final float
j
flyingSpeed
field_12335
flySpeed
private final float
k
walkingSpeed
field_12334
walkSpeed

Constructor summary

ModifierConstructor
public (Abilities abilities)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vl arg0)
write(FriendlyByteBuf arg0)
method_55897(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ClientboundPlayerAbilitiesPacket>
a()
type()
method_65080()
getPacketType()
public void
a(abl arg0)
handle(ClientGamePacketListener arg0)
method_11697(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public boolean
b()
isInvulnerable()
method_11695()
isInvulnerable()
public boolean
e()
isFlying()
method_11698()
isFlying()
public boolean
f()
canFly()
method_11699()
allowFlying()
public boolean
g()
canInstabuild()
method_11696()
isCreativeMode()
public float
h()
getFlyingSpeed()
method_11690()
getFlySpeed()
public float
i()
getWalkingSpeed()
method_11691()
getWalkSpeed()