Skip to main content

Grind Item

The arc:on_grind_item action type is triggered when a player grinds an item.

Action Data

When this action is triggered, the following action data is made available to be used by conditions and rewards:

This action does not produce any action data.

Example

The following example will give the player an emerald every time they grind an item.

data/my_datapack/arc/grind_for_emerald.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_grind_item",
"rewards": [
{
"type": "arc:item",
"item": {
"id": "minecraft:emerald"
}
}
]
}

Compatible Condition Types

The following condition types can be used with this action type:

Compatible Reward Types

The following reward types can be used with this action type: