Skip to main content

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

Empty Bucket

The arc:on_empty_bucket action type is triggered when a player places a liquid or fish from a bucket.

Action Data

When this action is triggered, the following action data is made available:

Action Data TypeDescription
arc:item_stackRepresents a stack of items, including item type and quantity.
arc:itemRefers to a single item type without stack information.
arc:block_positionSpecifies the coordinates (x, y, z) of a block in the world.
arc:block_stateRepresents the state of a block, including its type and properties.
arc:worldRefers to the world/dimension where the action occurs.

Example

The following example grants experience when placing lava.

data/my_datapack/arc/xp_for_lava.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_empty_bucket",
"conditions": [
{
"type": "arc:item",
"item": "minecraft:lava_bucket"
}
],
"rewards": [
{
"type": "arc:exp",
"min": 1,
"max": 3
}
]
}

Compatible Condition Types

Compatible Reward Types