Skip to main content

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

Smelt Inventory

The arc:smelt_inventory reward type smelts all smeltable items currently in the player's inventory.

Parameters

ParameterTypeRequiredDefaultDescription
recipesIdentifier[]Optional-No default valueSpecific recipes to allow.

Example

The following example smelts the player's inventory when they step into lava.

data/my_datapack/arc/super_heat.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_get_hurt",
"conditions": [
{
"type": "arc:damage_source",
"source": "lava"
}
],
"rewards": [
{
"type": "arc:smelt_inventory"
}
]
}

Compatible Action Types