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 agh
  • 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 Lagh;a:Lzt;
    • 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 Lagh;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> Lagh;<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> Lagh;<init>(Lws;)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 Lagh;a(Lws;)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 Laac;a()Laae;
    • 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 Lagh;a(Lacr;)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 Lagh;b()I