Skip to main content

Get 25% OFF on your first order with BisectHosting using code "DAQEM"!

Inventory Full

The arc:inventory_full condition type checks if the player's inventory has no empty slots.

Parameters​

This condition type does not have any parameters.

Example​

The following example warns the player when their inventory is full after picking up an item.

data/my_datapack/arc/inventory_full_warn.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_pickup_item",
"conditions": [
{
"type": "arc:inventory_full"
}
],
"rewards": [
{
"type": "arc:command",
"command": "tellraw %player% {\"text\":\"Your inventory is full!\",\"color\":\"red\"}"
}
]
}

Compatible Action Types​