net.minecraft.network.protocol.game

public class ClientboundTakeItemEntityPacket

implements Packet<ClientGamePacketListener>

aft
net.minecraft.network.protocol.game.ClientboundTakeItemEntityPacket
net.minecraft.class_2775
net.minecraft.network.packet.s2c.play.ItemPickupAnimationS2CPacket
net.minecraft.network.protocol.game.PacketPlayOutCollect

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundTakeItemEntityPacket>
a
STREAM_CODEC
field_48003
CODEC
private final int
b
itemId
field_12694
entityId
private final int
c
playerId
field_12693
collectorEntityId
private final int
d
amount
field_12692
stackAmount

Constructor summary

ModifierConstructor
public (int entityId, int collectorId, int stackAmount)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vl arg0)
write(FriendlyByteBuf arg0)
method_55948(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ClientboundTakeItemEntityPacket>
a()
type()
method_65080()
getPacketType()
public void
a(abl arg0)
handle(ClientGamePacketListener arg0)
method_11914(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public int
b()
getItemId()
method_11915()
getEntityId()
public int
e()
getPlayerId()
method_11912()
getCollectorEntityId()
public int
f()
getAmount()
method_11913()
getStackAmount()