> For the complete documentation index, see [llms.txt](https://temp-17.gitbook.io/trmenu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://temp-17.gitbook.io/trmenu/actions/types/item/take-item.md).

# Take-Items

Take items from the player's inventory

## Usage

```
(take|remove)(-)?item(s)?
```

## Example

```yaml
# Take a specified amount of items
- 'take-item: material:DIAMOND,amount:64'
```

```yaml
# Take a stack of iron ingots and half a stack of gold ingots
- 'take-item: material:IRON_INGOT,amount:64;material:GOLD_INGOT,amount:32'
```

## Note

* This action **does not check** whether the player has the required items or not
* The item material must be unified with each parts seperated by a `_`

{% content-ref url="/pages/-MFVxQ0nSz9SIUcU2PlI" %}
[Item Identifiers](/trmenu/functions/item-identifiers.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MFVxQ0ip8t-NegkxCQ7" %}
[hasItem](/trmenu/script/expressions/hasitem.md)
{% endcontent-ref %}
