Class ItemPickupAnimationS2CPacket

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

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

    • entityId

      private int entityId
      Mappings:
      Namespace Name Mixin selector
      official a Lsj;a:I
      intermediary field_12694 Lnet/minecraft/class_2775;field_12694:I
      named entityId Lnet/minecraft/network/packet/s2c/play/ItemPickupAnimationS2CPacket;entityId:I
    • collectorEntityId

      private int collectorEntityId
      Mappings:
      Namespace Name Mixin selector
      official b Lsj;b:I
      intermediary field_12693 Lnet/minecraft/class_2775;field_12693:I
      named collectorEntityId Lnet/minecraft/network/packet/s2c/play/ItemPickupAnimationS2CPacket;collectorEntityId:I
    • stackAmount

      private int stackAmount
      Mappings:
      Namespace Name Mixin selector
      official c Lsj;c:I
      intermediary field_12692 Lnet/minecraft/class_2775;field_12692:I
      named stackAmount Lnet/minecraft/network/packet/s2c/play/ItemPickupAnimationS2CPacket;stackAmount:I
  • Constructor Details

    • ItemPickupAnimationS2CPacket

      public ItemPickupAnimationS2CPacket()
    • ItemPickupAnimationS2CPacket

      public ItemPickupAnimationS2CPacket​(int entityId, int collectorId, int stackAmount)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lsj;<init>(III)V
      intermediary <init> Lnet/minecraft/class_2775;<init>(III)V
      named <init> Lnet/minecraft/network/packet/s2c/play/ItemPickupAnimationS2CPacket;<init>(III)V
  • Method Details

    • 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
    • apply

      public void apply​(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lsj;a(Lpd;)V
      intermediary method_11914 Lnet/minecraft/class_2775;method_11914(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/ItemPickupAnimationS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getEntityId

      @Environment(CLIENT) public int getEntityId()
      Mappings:
      Namespace Name Mixin selector
      official b Lsj;b()I
      intermediary method_11915 Lnet/minecraft/class_2775;method_11915()I
      named getEntityId Lnet/minecraft/network/packet/s2c/play/ItemPickupAnimationS2CPacket;getEntityId()I
    • getCollectorEntityId

      @Environment(CLIENT) public int getCollectorEntityId()
      Mappings:
      Namespace Name Mixin selector
      official c Lsj;c()I
      intermediary method_11912 Lnet/minecraft/class_2775;method_11912()I
      named getCollectorEntityId Lnet/minecraft/network/packet/s2c/play/ItemPickupAnimationS2CPacket;getCollectorEntityId()I
    • getStackAmount

      @Environment(CLIENT) public int getStackAmount()
      Mappings:
      Namespace Name Mixin selector
      official d Lsj;d()I
      intermediary method_11913 Lnet/minecraft/class_2775;method_11913()I
      named getStackAmount Lnet/minecraft/network/packet/s2c/play/ItemPickupAnimationS2CPacket;getStackAmount()I