Class ScreenHandlerSlotUpdateS2CPacket

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

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

    • UPDATE_CURSOR_SYNC_ID

      public static final int UPDATE_CURSOR_SYNC_ID
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official a Lqk;a:I
      intermediary field_33324 Lnet/minecraft/class_2653;field_33324:I
      named UPDATE_CURSOR_SYNC_ID Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;UPDATE_CURSOR_SYNC_ID:I
    • UPDATE_PLAYER_INVENTORY_SYNC_ID

      public static final int UPDATE_PLAYER_INVENTORY_SYNC_ID
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official b Lqk;b:I
      intermediary field_33325 Lnet/minecraft/class_2653;field_33325:I
      named UPDATE_PLAYER_INVENTORY_SYNC_ID Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;UPDATE_PLAYER_INVENTORY_SYNC_ID:I
    • syncId

      private final int syncId
      Mappings:
      Namespace Name Mixin selector
      official c Lqk;c:I
      intermediary field_12152 Lnet/minecraft/class_2653;field_12152:I
      named syncId Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;syncId:I
    • slot

      private final int slot
      Mappings:
      Namespace Name Mixin selector
      official d Lqk;d:I
      intermediary field_12151 Lnet/minecraft/class_2653;field_12151:I
      named slot Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;slot:I
    • stack

      private final ItemStack stack
      Mappings:
      Namespace Name Mixin selector
      official e Lqk;e:Lbqp;
      intermediary field_12153 Lnet/minecraft/class_2653;field_12153:Lnet/minecraft/class_1799;
      named stack Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;stack:Lnet/minecraft/item/ItemStack;
  • Constructor Details

    • ScreenHandlerSlotUpdateS2CPacket

      public ScreenHandlerSlotUpdateS2CPacket(int syncId, int slot, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lqk;<init>(IILbqp;)V
      intermediary <init> Lnet/minecraft/class_2653;<init>(IILnet/minecraft/class_1799;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;<init>(IILnet/minecraft/item/ItemStack;)V
    • ScreenHandlerSlotUpdateS2CPacket

      public ScreenHandlerSlotUpdateS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lqk;<init>(Log;)V
      intermediary <init> Lnet/minecraft/class_2653;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lpk;a(Log;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lqk;a(Lpn;)V
      intermediary method_11451 Lnet/minecraft/class_2653;method_11451(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getSyncId

      public int getSyncId()
      Mappings:
      Namespace Name Mixin selector
      official b Lqk;b()I
      intermediary method_11452 Lnet/minecraft/class_2653;method_11452()I
      named getSyncId Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;getSyncId()I
    • getSlot

      public int getSlot()
      Mappings:
      Namespace Name Mixin selector
      official c Lqk;c()I
      intermediary method_11450 Lnet/minecraft/class_2653;method_11450()I
      named getSlot Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;getSlot()I
    • getItemStack

      public ItemStack getItemStack()
      Mappings:
      Namespace Name Mixin selector
      official d Lqk;d()Lbqp;
      intermediary method_11449 Lnet/minecraft/class_2653;method_11449()Lnet/minecraft/class_1799;
      named getItemStack Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;getItemStack()Lnet/minecraft/item/ItemStack;