net.minecraft.network.protocol.game

public class ClientboundPlayerAbilitiesPacket

implements Packet<ClientGamePacketListener>

un
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
private static final int
a
FLAG_INVULNERABLE
field_33336
INVULNERABLE_MASK
f_179028_
private static final int
b
FLAG_FLYING
field_33337
FLYING_MASK
f_179029_
private static final int
c
FLAG_CAN_FLY
field_33338
ALLOW_FLYING_MASK
f_179030_
private static final int
d
FLAG_INSTABUILD
field_33339
CREATIVE_MODE_MASK
f_179031_
private final boolean
e
invulnerable
field_12339
invulnerable
f_132659_
private final boolean
f
isFlying
field_12338
flying
f_132660_
private final boolean
g
canFly
field_12337
allowFlying
f_132661_
private final boolean
h
instabuild
field_12336
creativeMode
f_132662_
private final float
i
flyingSpeed
field_12335
flySpeed
f_132663_
private final float
j
walkingSpeed
field_12334
walkSpeed
f_132664_

Constructor summary

ModifierConstructor
public (Abilities abilities)
public (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public void
a(qx arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(sr 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
c()
isFlying()
method_11698()
isFlying()
m_132677_()
public boolean
d()
canFly()
method_11699()
allowFlying()
m_132678_()
public boolean
e()
canInstabuild()
method_11696()
isCreativeMode()
m_132679_()
public float
f()
getFlyingSpeed()
method_11690()
getFlySpeed()
m_132680_()
public float
g()
getWalkingSpeed()
method_11691()
getWalkSpeed()
m_132681_()