---
title: Take Item Entity
description: "Play 0x7C, server → client."
---

`play` · `0x7C` · **clientbound** (server → client)

Plays the pickup animation of an item or arrow entity flying into a collector. The server sends it when an entity picks up an item; `pickupItemCount` is the amount taken. The client only animates; the actual removal comes via `RemoveEntities`.

Sent by the server, read by the client. Listen for it with `client.on("TakeItemEntity", (data) => …)` on the receiving side.

## Fields

| Field | Type | Notes |
|---|---|---|
| `collectedEntityId` | VarInt |  |
| `collectorEntityId` | VarInt |  |
| `pickupItemCount` | VarInt |  |

## Send it

```ts
await client.sendPacket("TakeItemEntity", {
  collectedEntityId: /* VarInt */,
  collectorEntityId: /* VarInt */,
  pickupItemCount: /* VarInt */,
});
```

Field aliases listed under Notes are accepted as alternative keys when writing.

Source: [`src/Core/Versions/776/Packets/play/clientbound/TakeItemEntity.ts`](https://github.com/GDLev/mc-protocol/blob/master/src/Core/Versions/776/Packets/play/clientbound/TakeItemEntity.ts)
