Burn

Power Type

Sets the entity that has the power on fire within the specified interval.

Type ID: origins:burn

Fields

Field Type Default Description
interval Integer Interval between being set on fire, in ticks.
burn_duration Integer Determines how long the fire should last on the entity each time it is set, in seconds.

Examples

{
    "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 example will set the entity on fire for 1 second, within an interval of 20 ticks if the said entity is not wearing a Leather Helmet.