Class ClickWindowC2SPacket

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

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

    • syncId

      private int syncId
      Mappings:
      Namespace Name Mixin selector
      official a Llf;a:I
      intermediary field_8781 Lnet/minecraft/class_2059;field_8781:I
      named syncId Lnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;syncId:I
    • slot

      private int slot
      Mappings:
      Namespace Name Mixin selector
      official b Llf;b:I
      intermediary field_8782 Lnet/minecraft/class_2059;field_8782:I
      named slot Lnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;slot:I
    • button

      private int button
      Mappings:
      Namespace Name Mixin selector
      official c Llf;c:I
      intermediary field_8783 Lnet/minecraft/class_2059;field_8783:I
      named button Lnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;button:I
    • transactionId

      private short transactionId
      Mappings:
      Namespace Name Mixin selector
      official d Llf;d:S
      intermediary field_8784 Lnet/minecraft/class_2059;field_8784:S
      named transactionId Lnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;transactionId:S
    • selectedStack

      private ItemStack selectedStack
      Mappings:
      Namespace Name Mixin selector
      official e Llf;e:Laip;
      intermediary field_8785 Lnet/minecraft/class_2059;field_8785:Lnet/minecraft/class_1071;
      named selectedStack Lnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;selectedStack:Lnet/minecraft/item/ItemStack;
    • field_13798

      private ItemAction field_13798
      Mappings:
      Namespace Name Mixin selector
      official f Llf;f:Lafw;
      intermediary field_13798 Lnet/minecraft/class_2059;field_13798:Lnet/minecraft/class_2679;
      named field_13798 Lnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;field_13798:Lnet/minecraft/util/ItemAction;
  • Constructor Details

    • ClickWindowC2SPacket

      public ClickWindowC2SPacket()
    • ClickWindowC2SPacket

      @Environment(CLIENT) public ClickWindowC2SPacket(int int2, int int3, int int4, ItemAction itemAction, ItemStack itemStack, short short2)
  • Method Details

    • apply

      public void apply(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Llf;a(Lkx;)V
      intermediary method_7971 Lnet/minecraft/class_2059;method_7971(Lnet/minecraft/class_2050;)V
      named apply Lnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
    • read

      public void read(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ServerPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lht;a(Lgy;)V
      intermediary method_7535 Lnet/minecraft/class_700;method_7535(Lnet/minecraft/class_1967;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
    • write

      public void write(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ServerPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lht;b(Lgy;)V
      intermediary method_7539 Lnet/minecraft/class_700;method_7539(Lnet/minecraft/class_1967;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
    • getSyncId

      public int getSyncId()
      Mappings:
      Namespace Name Mixin selector
      official a Llf;a()I
      intermediary method_7972 Lnet/minecraft/class_2059;method_7972()I
      named getSyncId Lnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;getSyncId()I
    • getSlot

      public int getSlot()
      Mappings:
      Namespace Name Mixin selector
      official b Llf;b()I
      intermediary method_7973 Lnet/minecraft/class_2059;method_7973()I
      named getSlot Lnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;getSlot()I
    • getButton

      public int getButton()
      Mappings:
      Namespace Name Mixin selector
      official c Llf;c()I
      intermediary method_7974 Lnet/minecraft/class_2059;method_7974()I
      named getButton Lnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;getButton()I
    • getTransactionId

      public short getTransactionId()
      Mappings:
      Namespace Name Mixin selector
      official d Llf;d()S
      intermediary method_7975 Lnet/minecraft/class_2059;method_7975()S
      named getTransactionId Lnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;getTransactionId()S
    • getSelectedStack

      public ItemStack getSelectedStack()
      Mappings:
      Namespace Name Mixin selector
      official e Llf;e()Laip;
      intermediary method_7976 Lnet/minecraft/class_2059;method_7976()Lnet/minecraft/class_1071;
      named getSelectedStack Lnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;getSelectedStack()Lnet/minecraft/item/ItemStack;
    • method_7977

      public ItemAction method_7977()
      Mappings:
      Namespace Name Mixin selector
      official f Llf;f()Lafw;
      intermediary method_7977 Lnet/minecraft/class_2059;method_7977()Lnet/minecraft/class_2679;
      named method_7977 Lnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;method_7977()Lnet/minecraft/util/ItemAction;