Critical Hit
The arc:critical_hit condition type checks if an attack was a critical hit (e.g. jumping while attacking).
Parameters
This condition type does not have any parameters.
Example
The following example multiplies damage by 2 on a critical hit.
data/my_datapack/arc/super_crit.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_hurt_entity",
"conditions": [
{
"type": "arc:critical_hit"
}
],
"rewards": [
{
"type": "arc:damage_multiplier",
"multiplier": 2.0
}
]
}