Class UpdatePlayerAbilitiesC2SPacket

java.lang.Object
net.minecraft.network.packet.c2s.play.UpdatePlayerAbilitiesC2SPacket
All Implemented Interfaces:
Packet<ServerPlayPacketListener>

public class UpdatePlayerAbilitiesC2SPacket extends Object implements Packet<ServerPlayPacketListener>
Mappings:
Namespace Name
named net/minecraft/network/packet/c2s/play/UpdatePlayerAbilitiesC2SPacket
intermediary net/minecraft/class_2842
official ahl
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/c2s/play/UpdatePlayerAbilitiesC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48206 Lnet/minecraft/class_2842;field_48206:Lnet/minecraft/class_9139;
      official a Lahl;a:Lyx;
    • FLYING_MASK

      private static final int FLYING_MASK
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named FLYING_MASK Lnet/minecraft/network/packet/c2s/play/UpdatePlayerAbilitiesC2SPacket;FLYING_MASK:I
      intermediary field_33362 Lnet/minecraft/class_2842;field_33362:I
      official b Lahl;b:I
    • flying

      private final boolean flying
      Mappings:
      Namespace Name Mixin selector
      named flying Lnet/minecraft/network/packet/c2s/play/UpdatePlayerAbilitiesC2SPacket;flying:Z
      intermediary field_12948 Lnet/minecraft/class_2842;field_12948:Z
      official c Lahl;c:Z
  • Constructor Details

    • UpdatePlayerAbilitiesC2SPacket

      public UpdatePlayerAbilitiesC2SPacket(PlayerAbilities abilities)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/c2s/play/UpdatePlayerAbilitiesC2SPacket;<init>(Lnet/minecraft/entity/player/PlayerAbilities;)V
      intermediary <init> Lnet/minecraft/class_2842;<init>(Lnet/minecraft/class_1656;)V
      official <init> Lahl;<init>(Lcmu;)V
    • UpdatePlayerAbilitiesC2SPacket

      private UpdatePlayerAbilitiesC2SPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/c2s/play/UpdatePlayerAbilitiesC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2842;<init>(Lnet/minecraft/class_2540;)V
      official <init> Lahl;<init>(Lvw;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/c2s/play/UpdatePlayerAbilitiesC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55987 Lnet/minecraft/class_2842;method_55987(Lnet/minecraft/class_2540;)V
      official a Lahl;a(Lvw;)V
    • getPacketId

      Specified by:
      getPacketId in interface Packet<ServerPlayPacketListener>
      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 Lzg;a()Lzi;
    • apply

      public void apply(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/c2s/play/UpdatePlayerAbilitiesC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
      intermediary method_12339 Lnet/minecraft/class_2842;method_12339(Lnet/minecraft/class_2792;)V
      official a Lahl;a(Lagi;)V
    • isFlying

      public boolean isFlying()
      Mappings:
      Namespace Name Mixin selector
      named isFlying Lnet/minecraft/network/packet/c2s/play/UpdatePlayerAbilitiesC2SPacket;isFlying()Z
      intermediary method_12346 Lnet/minecraft/class_2842;method_12346()Z
      official b Lahl;b()Z