Skip to content

Set Entity on Fire

Sets an entity on fire for a specified amount of ticks.

Type ID: kaya:set_entity_on_fire

Format

Field Type Default Description
ticks Int Provider The amount of ticks the entity will be on fire for.
entity Entity Provider The entity to set on fire.

Example

{
    "type": "kaya:set_entity_on_fire",
    "ticks": 100,
    "entity": "damaging_entity"
}

This example will set the entity provided by the kaya:damaging_entity context parameter on fire for 5 seconds.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.