Class ClientboundPlayerAbilitiesPacket

java.lang.Object
net.minecraft.network.protocol.game.ClientboundPlayerAbilitiesPacket
All Implemented Interfaces:
Packet<ClientGamePacketListener>

public class ClientboundPlayerAbilitiesPacket extends Object implements Packet<ClientGamePacketListener>
  • Field Details

    • FLAG_INVULNERABLE

      private static final int FLAG_INVULNERABLE
      See Also:
    • FLAG_FLYING

      private static final int FLAG_FLYING
      See Also:
    • FLAG_CAN_FLY

      private static final int FLAG_CAN_FLY
      See Also:
    • FLAG_INSTABUILD

      private static final int FLAG_INSTABUILD
      See Also:
    • invulnerable

      private final boolean invulnerable
    • isFlying

      private final boolean isFlying
    • canFly

      private final boolean canFly
    • instabuild

      private final boolean instabuild
    • flyingSpeed

      private final float flyingSpeed
    • walkingSpeed

      private final float walkingSpeed
  • Constructor Details

    • ClientboundPlayerAbilitiesPacket

      public ClientboundPlayerAbilitiesPacket(Abilities p_132667_)
    • ClientboundPlayerAbilitiesPacket

      public ClientboundPlayerAbilitiesPacket(FriendlyByteBuf p_179033_)
  • Method Details