Spawn Effect Cloud (Entity Action Type)

Spawns an area effect cloud (as from a lingering potion) at the position of the entity.

Spawns an area effect cloud (as from a lingering potion) at the position of the entity.

Type ID: apoli:spawn_effect_cloud

Fields

FieldTypeDefaultDescription
radiusFloat3.0The radius of the cloud.
radius_on_useFloat-0.5How much the radius should change when an effect is applied.
wait_timeInteger10How many ticks to wait until the cloud takes effect.
effectStatus Effect InstanceoptionalIf specified, this status effect will be applied by the cloud to entities inside of it.
effectsArray of Status Effect InstancesoptionalIf specified, these status effects will be applied by the cloud to entities inside of it.

Examples

"entity_action": {
    "type": "apoli:spawn_effect_cloud",
    "radius": 10.0,
    "wait_time": 40,
    "effect": {
        "effect": "minecraft:resistance",
        "amplifier": 3,
        "duration": 100
    }
}

This example will spawn a large Area Effect Cloud, which provides the Resistance IV status effect that will last for 5 seconds at the entity’s position.