Burn
Sets the player on fire in regular intervals.
Type ID: apoli:burn
Fields
| Field | Type | Default | Description |
|---|---|---|---|
interval |
Integer | Interval between being set on fire, in ticks. | |
burn_duration |
Integer | Time the fire should last on the player each time it is set, in seconds. |
Example
{
"type": "apoli:burn",
"interval": 20,
"burn_duration": 1,
"condition": {
"type": "apoli:equipped_item",
"equipment_slot": "head",
"item_condition": {
"type": "apoli:ingredient",
"ingredient": {
"item": "minecraft:leather_helmet"
}
},
"inverted": true
}
}
This power will only burn the player for 1 second, within a 20 ticks interval if the said player is not wearing a leather helmet.