Skip to main content

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

Inventory Empty

The arc:inventory_empty condition type checks if the player's inventory is completely empty.

Parameters

This condition type does not have any parameters.

Example

The following example gives a starter kit if the inventory is empty on join (simulated).

data/my_datapack/arc/starter_kit.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_advancement",
"conditions": [
{
"type": "arc:inventory_empty"
}
],
"rewards": [
{
"type": "arc:item",
"item": "minecraft:wooden_sword"
}
]
}

Compatible Action Types