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 vd
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:
      Mappings:
      Namespace Name Mixin selector
      official a Lvd;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:
      Mappings:
      Namespace Name Mixin selector
      official b Lvd;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 Lvd;c:I
      intermediary field_12152 Lnet/minecraft/class_2653;field_12152:I
      named syncId Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;syncId:I
    • revision

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

      private final int slot
      Mappings:
      Namespace Name Mixin selector
      official e Lvd;e: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 f Lvd;f:Lcdt;
      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 revision, int slot, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lvd;<init>(IIILcdt;)V
      intermediary <init> Lnet/minecraft/class_2653;<init>(IIILnet/minecraft/class_1799;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;<init>(IIILnet/minecraft/item/ItemStack;)V
    • ScreenHandlerSlotUpdateS2CPacket

      public ScreenHandlerSlotUpdateS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lvd;<init>(Lsd;)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 Luh;a(Lsd;)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 Lvd;a(Luk;)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 Lvd;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 Lvd;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 Lvd;d()Lcdt;
      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;
    • getRevision

      public int getRevision()
      Mappings:
      Namespace Name Mixin selector
      official e Lvd;e()I
      intermediary method_37439 Lnet/minecraft/class_2653;method_37439()I
      named getRevision Lnet/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket;getRevision()I