Class PlayerAbilitiesS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.PlayerAbilitiesS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class PlayerAbilitiesS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
named net/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket
intermediary net/minecraft/class_2696
official aei
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47948 Lnet/minecraft/class_2696;field_47948:Lnet/minecraft/class_9139;
      official a Laei;a:Lzn;
    • INVULNERABLE_MASK

      private static final int INVULNERABLE_MASK
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named INVULNERABLE_MASK Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;INVULNERABLE_MASK:I
      intermediary field_33336 Lnet/minecraft/class_2696;field_33336:I
      official b Laei;b:I
    • FLYING_MASK

      private static final int FLYING_MASK
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named FLYING_MASK Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;FLYING_MASK:I
      intermediary field_33337 Lnet/minecraft/class_2696;field_33337:I
      official c Laei;c:I
    • ALLOW_FLYING_MASK

      private static final int ALLOW_FLYING_MASK
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named ALLOW_FLYING_MASK Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;ALLOW_FLYING_MASK:I
      intermediary field_33338 Lnet/minecraft/class_2696;field_33338:I
      official d Laei;d:I
    • CREATIVE_MODE_MASK

      private static final int CREATIVE_MODE_MASK
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named CREATIVE_MODE_MASK Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;CREATIVE_MODE_MASK:I
      intermediary field_33339 Lnet/minecraft/class_2696;field_33339:I
      official e Laei;e:I
    • invulnerable

      private final boolean invulnerable
      Mappings:
      Namespace Name Mixin selector
      named invulnerable Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;invulnerable:Z
      intermediary field_12339 Lnet/minecraft/class_2696;field_12339:Z
      official f Laei;f:Z
    • flying

      private final boolean flying
      Mappings:
      Namespace Name Mixin selector
      named flying Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;flying:Z
      intermediary field_12338 Lnet/minecraft/class_2696;field_12338:Z
      official g Laei;g:Z
    • allowFlying

      private final boolean allowFlying
      Mappings:
      Namespace Name Mixin selector
      named allowFlying Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;allowFlying:Z
      intermediary field_12337 Lnet/minecraft/class_2696;field_12337:Z
      official h Laei;h:Z
    • creativeMode

      private final boolean creativeMode
      Mappings:
      Namespace Name Mixin selector
      named creativeMode Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;creativeMode:Z
      intermediary field_12336 Lnet/minecraft/class_2696;field_12336:Z
      official i Laei;i:Z
    • flySpeed

      private final float flySpeed
      Mappings:
      Namespace Name Mixin selector
      named flySpeed Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;flySpeed:F
      intermediary field_12335 Lnet/minecraft/class_2696;field_12335:F
      official j Laei;j:F
    • walkSpeed

      private final float walkSpeed
      Mappings:
      Namespace Name Mixin selector
      named walkSpeed Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;walkSpeed:F
      intermediary field_12334 Lnet/minecraft/class_2696;field_12334:F
      official k Laei;k:F
  • Constructor Details

    • PlayerAbilitiesS2CPacket

      public PlayerAbilitiesS2CPacket(PlayerAbilities abilities)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;<init>(Lnet/minecraft/entity/player/PlayerAbilities;)V
      intermediary <init> Lnet/minecraft/class_2696;<init>(Lnet/minecraft/class_1656;)V
      official <init> Laei;<init>(Lcmv;)V
    • PlayerAbilitiesS2CPacket

      private PlayerAbilitiesS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2696;<init>(Lnet/minecraft/class_2540;)V
      official <init> Laei;<init>(Lwm;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55897 Lnet/minecraft/class_2696;method_55897(Lnet/minecraft/class_2540;)V
      official a Laei;a(Lwm;)V
    • getPacketId

      public PacketType<PlayerAbilitiesS2CPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named getPacketId Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
      intermediary method_55846 Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
      official a Lzw;a()Lzy;
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_11697 Lnet/minecraft/class_2696;method_11697(Lnet/minecraft/class_2602;)V
      official a Laei;a(Laci;)V
    • isInvulnerable

      public boolean isInvulnerable()
      Mappings:
      Namespace Name Mixin selector
      named isInvulnerable Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;isInvulnerable()Z
      intermediary method_11695 Lnet/minecraft/class_2696;method_11695()Z
      official b Laei;b()Z
    • isFlying

      public boolean isFlying()
      Mappings:
      Namespace Name Mixin selector
      named isFlying Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;isFlying()Z
      intermediary method_11698 Lnet/minecraft/class_2696;method_11698()Z
      official e Laei;e()Z
    • allowFlying

      public boolean allowFlying()
      Mappings:
      Namespace Name Mixin selector
      named allowFlying Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;allowFlying()Z
      intermediary method_11699 Lnet/minecraft/class_2696;method_11699()Z
      official f Laei;f()Z
    • isCreativeMode

      public boolean isCreativeMode()
      Mappings:
      Namespace Name Mixin selector
      named isCreativeMode Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;isCreativeMode()Z
      intermediary method_11696 Lnet/minecraft/class_2696;method_11696()Z
      official g Laei;g()Z
    • getFlySpeed

      public float getFlySpeed()
      Mappings:
      Namespace Name Mixin selector
      named getFlySpeed Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;getFlySpeed()F
      intermediary method_11690 Lnet/minecraft/class_2696;method_11690()F
      official h Laei;h()F
    • getWalkSpeed

      public float getWalkSpeed()
      Mappings:
      Namespace Name Mixin selector
      named getWalkSpeed Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;getWalkSpeed()F
      intermediary method_11691 Lnet/minecraft/class_2696;method_11691()F
      official i Laei;i()F