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#

TypeWhat it does
FIREWORKA real firework burst (colors, firework-shape, firework-trail, firework-flicker)
BURSTAn expanding sphere of particles
SHOCKWAVEA ring that expands along the ground
SOUL_RISETwo strands spiralling upward
FOUNTAINParticles spraying up and out
LIGHTNINGA visual-only lightning bolt (no damage, no fire). Not used by default: the shipped example is disabled

Keys of the effect block#

KeyDefaultMeaning
typeBURSTOne of the effect types above
particle, secondary-particleend_rod / noneParticle blocks (see particle options)
radius3.0Size of the effect in blocks
height3.0Height for SOUL_RISE and FOUNTAIN
duration-ticks20Length (2-100)
points24Particles per step (4-200)
sound, volume, pitchnone, 1.0, 1.0A sound key such as entity.firework_rocket.blast
colors#ff66ccFIREWORK: list of hex colors
firework-shapeBALL_LARGEBALL, BALL_LARGE, STAR, BURST or CREEPER
firework-trail, firework-flickertrue, trueFIREWORK extras