Skip to main content

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

On Fire

The arc:on_fire condition type checks if the player is currently on fire.

Parameters

This condition type does not have any parameters.

Example

The following example grants fire resistance if the player catches fire.

data/my_datapack/arc/auto_extinguish.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_get_hurt",
"conditions": [
{
"type": "arc:on_fire"
}
],
"rewards": [
{
"type": "arc:effect",
"effect": {
"id": "minecraft:fire_resistance",
"duration": 200
}
}
]
}

Compatible Action Types