public class ItemPickupAnimationS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Modifier and Type | Field and Description |
---|---|
private int |
collectorEntityId |
private int |
entityId |
private int |
stackAmount |
Constructor and Description |
---|
ItemPickupAnimationS2CPacket() |
ItemPickupAnimationS2CPacket(int entityId,
int collectorId,
int stackAmount) |
Modifier and Type | Method and Description |
---|---|
void |
apply(ClientPlayPacketListener clientPlayPacketListener) |
int |
getCollectorEntityId() |
int |
getEntityId() |
int |
getStackAmount() |
void |
read(PacketByteBuf buf) |
void |
write(PacketByteBuf buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isWritingErrorSkippable
private int entityId
private int collectorEntityId
private int stackAmount
public ItemPickupAnimationS2CPacket()
public ItemPickupAnimationS2CPacket(int entityId, int collectorId, int stackAmount)
public void read(PacketByteBuf buf) throws IOException
read
in interface Packet<ClientPlayPacketListener>
IOException
public void write(PacketByteBuf buf) throws IOException
write
in interface Packet<ClientPlayPacketListener>
IOException
public void apply(ClientPlayPacketListener clientPlayPacketListener)
apply
in interface Packet<ClientPlayPacketListener>
@Environment(value=CLIENT) public int getEntityId()
@Environment(value=CLIENT) public int getCollectorEntityId()
@Environment(value=CLIENT) public int getStackAmount()