Burn

Power Type.

Sets the player on fire in regular intervals.

Type ID: origins: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": "origins:burn",
    "interval": 20,
    "burn_duration": 1,
    "condition": {
        "type": "origins:equipped_item",
        "equipment_slot": "head",
        "item_condition": {
            "type": "origins: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.