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
official ws
intermediary net/minecraft/class_2696
named net/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket
  • Field Details

    • INVULNERABLE_MASK

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

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

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

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

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

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

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

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

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

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

    • PlayerAbilitiesS2CPacket

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

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

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Luo;a(Lsf;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

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

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

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

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

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

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

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