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 qa
intermediary net/minecraft/class_2653
named net/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket
  • Field Details

    • syncId

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

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

      private ItemStack stack
      Mappings:
      Namespace Name Mixin selector
      official c Lqa;c:Lbnv;
      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()
    • ScreenHandlerSlotUpdateS2CPacket

      public ScreenHandlerSlotUpdateS2CPacket​(int syncId, int slot, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lqa;<init>(IILbnv;)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
  • Method Details

    • apply

      public void apply​(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lqa;a(Lpd;)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
    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lpa;a(Lnw;)V
      intermediary method_11053 Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
    • write

      public void write​(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lpa;b(Lnw;)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
    • getSyncId

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

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

      @Environment(CLIENT) public ItemStack getItemStack()
      Mappings:
      Namespace Name Mixin selector
      official d Lqa;d()Lbnv;
      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;