Wiki 9Minecraft Wiki 9Minecraft

Particles

Minecraft Legends

EventTriggers
Official docs

Play a particle effect on the entity which has the badger:presentation_event component.

Example:

"on_initialized": {  
    "particles": {  
        "effect": "fx_trail",  
        "locator": "loc_fx_tip",  
        "enabled": true,  
        "bind_to_actor": true  
    }

"on_world_hit": {  
    "particles": "fx_impact"

If you want to call more then one effect on a presentation event use this syntax:

"on_construction_end": {  
    "particles": [  
        {  
            "effect": "badger:fx_creeper_death",  
            "enabled": true  
        },  
        {  
            "effect": "badger:fx_block_butterflies",  
            "enabled": true  
        }  
    ]  
}