Using it
Kill and join effects
Kill effects play where a player you kill dies (and optionally where you kill a mob: effects.kill-on-mobs). Join effects play on you when you join, after effects.join-delay-ticks. Effects are drawn only for players who have not hidden other players' cosmetics.
effect:
type: SOUL_RISE
particle:
type: soul
secondary-particle:
type: soul_fire_flame
height: 3.5
duration-ticks: 40
sound: particle.soul_escape
Effect types#
| Type | What it does |
| FIREWORK | A real firework burst (colors, firework-shape, firework-trail, firework-flicker) |
| BURST | An expanding sphere of particles |
| SHOCKWAVE | A ring that expands along the ground |
| SOUL_RISE | Two strands spiralling upward |
| FOUNTAIN | Particles spraying up and out |
| LIGHTNING | A visual-only lightning bolt (no damage, no fire). Not used by default: the shipped example is disabled |
Keys of the effect block#
| Key | Default | Meaning |
|---|
| type | BURST | One of the effect types above |
| particle, secondary-particle | end_rod / none | Particle blocks (see particle options) |
| radius | 3.0 | Size of the effect in blocks |
| height | 3.0 | Height for SOUL_RISE and FOUNTAIN |
| duration-ticks | 20 | Length (2-100) |
| points | 24 | Particles per step (4-200) |
| sound, volume, pitch | none, 1.0, 1.0 | A sound key such as entity.firework_rocket.blast |
| colors | #ff66cc | FIREWORK: list of hex colors |
| firework-shape | BALL_LARGE | BALL, BALL_LARGE, STAR, BURST or CREEPER |
| firework-trail, firework-flicker | true, true | FIREWORK extras |