Experience Multiplier
The arc:exp_multiplier reward type multiplies the amount of experience dropped from an action.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
multiplier | int | ✅Required | -No default value | The multiplier for the experience. |
Example
The following example will double the experience dropped when a player breaks a coal ore block.
data/my_datapack/arc/double_xp_from_coal.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_break_block",
"conditions": [
{
"type": "arc:block",
"block": "minecraft:coal_ore"
}
],
"rewards": [
{
"type": "arc:exp_multiplier",
"multiplier": 2
}
]
}
## Compatible Action Types
<CompatibleActionTypes />