forked from nisovin/MagicSpells
- Notifications
You must be signed in to change notification settings - Fork 72
EffectLib Explode
JasperLorelai edited this page Jun 28, 2026
·
9 revisions
class: ExplodeThis effect creates a large explosion.
| Option | Default |
|---|---|
type | "instant" |
speed | 0.5 |
| Option | Description | Type | Default |
|---|---|---|---|
particle1 | The first particle that is displayed in the explosion. | Particle | "explosion_normal" |
particle2 | The second particle that is displayed in the explosion. | Particle | "explosion_huge" |
amount | The number of smoke-sparks spawned by the explosion. | Integer | 25 |
sound | The sound effect played by the explosion. | Sound | "entity_generic_explosion" |
** CURRENTLY DOES NOT WORK, HERE IS THE RESPONSE FROM DISCORD : ```skip using the ExplodeEffect. It doesn't seem to be doing anything too special, though. By default, it just plays 25 particles of poof and explosion_emmiter, as well as plays that sound. You can just recreate that with 2 simple MagicSpells particles effects and a sound effect.```ExplodeExample:
spell-class: ".instant.DummySpell"effects:
Effect1:
position: castereffect: effectlib effectlib:
class: ExplodeEffectparticle1: EXPLOSION_NORMALparticle2: EXPLOSION_HUGEamount: 25sound: ENTITY_GENERIC_EXPLOSIONtype: INSTANTspeed: 0.5