Class PickFromInventoryC2SPacket

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

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

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/c2s/play/PickFromInventoryC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48204 Lnet/minecraft/class_2838;field_48204:Lnet/minecraft/class_9139;
      official a Lahj;a:Lyx;
    • slot

      private final int slot
      Mappings:
      Namespace Name Mixin selector
      named slot Lnet/minecraft/network/packet/c2s/play/PickFromInventoryC2SPacket;slot:I
      intermediary field_12908 Lnet/minecraft/class_2838;field_12908:I
      official b Lahj;b:I
  • Constructor Details

    • PickFromInventoryC2SPacket

      public PickFromInventoryC2SPacket(int slot)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/c2s/play/PickFromInventoryC2SPacket;<init>(I)V
      intermediary <init> Lnet/minecraft/class_2838;<init>(I)V
      official <init> Lahj;<init>(I)V
    • PickFromInventoryC2SPacket

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

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/c2s/play/PickFromInventoryC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55985 Lnet/minecraft/class_2838;method_55985(Lnet/minecraft/class_2540;)V
      official a Lahj;a(Lvw;)V
    • getPacketId

      public PacketType<PickFromInventoryC2SPacket> 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/PickFromInventoryC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
      intermediary method_12292 Lnet/minecraft/class_2838;method_12292(Lnet/minecraft/class_2792;)V
      official a Lahj;a(Lagi;)V
    • getSlot

      public int getSlot()
      Mappings:
      Namespace Name Mixin selector
      named getSlot Lnet/minecraft/network/packet/c2s/play/PickFromInventoryC2SPacket;getSlot()I
      intermediary method_12293 Lnet/minecraft/class_2838;method_12293()I
      official b Lahj;b()I