net.minecraft.network.protocol.game

public class ClientboundPlayerAbilitiesPacket

implements Packet<ClientGamePacketListener>

adu
net.minecraft.network.protocol.game.ClientboundPlayerAbilitiesPacket
net.minecraft.class_2696
net.minecraft.network.packet.s2c.play.PlayerAbilitiesS2CPacket
net.minecraft.src.C_5087_
net.minecraft.network.protocol.game.PacketPlayOutAbilities

Field summary

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

Constructor summary

ModifierConstructor
public (Abilities abilities)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vw arg0)
write(FriendlyByteBuf arg0)
method_55897(class_2540 arg0)
write(PacketByteBuf buf)
m_132675_(C_4983_ arg0)
public PacketType<ClientboundPlayerAbilitiesPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(abu arg0)
handle(ClientGamePacketListener arg0)
method_11697(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public boolean
b()
isInvulnerable()
method_11695()
isInvulnerable()
m_132674_()
public boolean
e()
isFlying()
method_11698()
isFlying()
m_132677_()
public boolean
f()
canFly()
method_11699()
allowFlying()
m_132678_()
public boolean
g()
canInstabuild()
method_11696()
isCreativeMode()
m_132679_()
public float
h()
getFlyingSpeed()
method_11690()
getFlySpeed()
m_132680_()
public float
i()
getWalkingSpeed()
method_11691()
getWalkSpeed()
m_132681_()