Class UpdateSelectedSlotS2CPacket

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

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

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/UpdateSelectedSlotS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47974 Lnet/minecraft/class_2735;field_47974:Lnet/minecraft/class_9139;
      official a Laen;a:Lys;
    • slot

      private final int slot
      Mappings:
      Namespace Name Mixin selector
      named slot Lnet/minecraft/network/packet/s2c/play/UpdateSelectedSlotS2CPacket;slot:I
      intermediary field_12463 Lnet/minecraft/class_2735;field_12463:I
      official b Laen;b:I
  • Constructor Details

    • UpdateSelectedSlotS2CPacket

      public UpdateSelectedSlotS2CPacket(int slot)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/UpdateSelectedSlotS2CPacket;<init>(I)V
      intermediary <init> Lnet/minecraft/class_2735;<init>(I)V
      official <init> Laen;<init>(I)V
    • UpdateSelectedSlotS2CPacket

      private UpdateSelectedSlotS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/UpdateSelectedSlotS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2735;<init>(Lnet/minecraft/class_2540;)V
      official <init> Laen;<init>(Lvr;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/UpdateSelectedSlotS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55921 Lnet/minecraft/class_2735;method_55921(Lnet/minecraft/class_2540;)V
      official a Laen;a(Lvr;)V
    • getPacketId

      public PacketType<UpdateSelectedSlotS2CPacket> 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 Lzb;a()Lzd;
    • 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/UpdateSelectedSlotS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_11802 Lnet/minecraft/class_2735;method_11802(Lnet/minecraft/class_2602;)V
      official a Laen;a(Labn;)V
    • getSlot

      public int getSlot()
      Mappings:
      Namespace Name Mixin selector
      named getSlot Lnet/minecraft/network/packet/s2c/play/UpdateSelectedSlotS2CPacket;getSlot()I
      intermediary method_11803 Lnet/minecraft/class_2735;method_11803()I
      official b Laen;b()I