Skip to content
JasperLorelai edited this page Jun 28, 2026 · 9 revisions

Source Code

class: Explode

Description:

This effect creates a large explosion.

Configuration:

OptionDefault
type"instant"
speed0.5

Other:

OptionDescriptionTypeDefault
particle1The first particle that is displayed in the explosion.Particle"explosion_normal"
particle2The second particle that is displayed in the explosion.Particle"explosion_huge"
amountThe number of smoke-sparks spawned by the explosion.Integer25
soundThe sound effect played by the explosion.Sound"entity_generic_explosion"

Example:

** 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

Clone this wiki locally