net.minecraft.network.protocol.game

public class ClientboundTakeItemEntityPacket

implements Packet<ClientGamePacketListener>

afv
net.minecraft.network.protocol.game.ClientboundTakeItemEntityPacket
net.minecraft.class_2775
net.minecraft.network.packet.s2c.play.ItemPickupAnimationS2CPacket
net.minecraft.src.C_5134_
net.minecraft.network.protocol.game.PacketPlayOutCollect

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(vw arg0)
write(FriendlyByteBuf arg0)
method_55948(class_2540 arg0)
write(PacketByteBuf buf)
m_133525_(C_4983_ arg0)
public PacketType<ClientboundTakeItemEntityPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(abu arg0)
handle(ClientGamePacketListener arg0)
method_11914(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public int
b()
getItemId()
method_11915()
getEntityId()
m_133524_()
public int
e()
getPlayerId()
method_11912()
getCollectorEntityId()
m_133527_()
public int
f()
getAmount()
method_11913()
getStackAmount()
m_133528_()