> For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scripting.breeze.rip/newgen/api/net/minecraft/network/protocol/game/clientboundtakeitementitypacket.md).

# ClientboundTakeItemEntityPacket

An item or experience orb is picked up.

### Extends

* [`Packet`](/newgen/api/net/minecraft/network/protocol/packet.md)

### Properties

#### amount

> `readonly` **amount**: `number`

How many items were taken.

***

#### collector

> `readonly` **collector**: [`Entity`](/newgen/api/net/minecraft/world/entity/entity.md)

The collecting entity. Null if it is not loaded.

***

#### id

> `readonly` **id**: `string`

The protocol id, e.g. "minecraft:swing". Stable across versions, unlike class names.

**Inherited from**

[`Packet`](/newgen/api/net/minecraft/network/protocol/packet.md).[`id`](/newgen/api/net/minecraft/network/protocol/packet.md#id)

***

#### item

> `readonly` **item**: [`Entity`](/newgen/api/net/minecraft/world/entity/entity.md)

The picked up entity. Null if it is not loaded.

***

#### itemId

> `readonly` **itemId**: `number`

The picked up entity.

***

#### name

> `readonly` **name**: `string`

The class name, e.g. "ServerboundSwingPacket".

**Inherited from**

[`Packet`](/newgen/api/net/minecraft/network/protocol/packet.md).[`name`](/newgen/api/net/minecraft/network/protocol/packet.md#name)

***

#### playerId

> `readonly` **playerId**: `number`

The collecting entity.

***

#### serverbound

> `readonly` **serverbound**: `boolean`

True for packets the client sends, false for ones it receives.

**Inherited from**

[`Packet`](/newgen/api/net/minecraft/network/protocol/packet.md).[`serverbound`](/newgen/api/net/minecraft/network/protocol/packet.md#serverbound)
