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 yg
intermediary net/minecraft/class_2775
named net/minecraft/network/packet/s2c/play/ItemPickupAnimationS2CPacket
  • Field Details

    • entityId

      private final int entityId
      Mappings:
      Namespace Name Mixin selector
      official a Lyg;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 final int collectorEntityId
      Mappings:
      Namespace Name Mixin selector
      official b Lyg;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 final int stackAmount
      Mappings:
      Namespace Name Mixin selector
      official c Lyg;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(int entityId, int collectorId, int stackAmount)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lyg;<init>(III)V
      intermediary <init> Lnet/minecraft/class_2775;<init>(III)V
      named <init> Lnet/minecraft/network/packet/s2c/play/ItemPickupAnimationS2CPacket;<init>(III)V
    • ItemPickupAnimationS2CPacket

      public ItemPickupAnimationS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lyg;<init>(Lsd;)V
      intermediary <init> Lnet/minecraft/class_2775;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/ItemPickupAnimationS2CPacket;<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 Lyg;a(Luk;)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

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

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

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