forked from TheComputerGeek2/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 3
Explode Effect
AkitoBurrito edited this page May 27, 2023
·
1 revision
Description: This effect creates a large explosion.
Option | Description | Type | Default Value |
---|---|---|---|
particle1 |
The name of the first particle that is displayed in the explosion. (uses different particle names compared to general magicspells). The list of these particles can be found here. | String | EXPLOSION_NORMAL |
particle2 |
The name of the second particle that is displayed in the explosion. (uses different particle names compared to general magicspells). The list of these particles can be found here. | String | EXPLOSION_HUGE |
amount |
The number of smoke-sparks spawned by the explosion. | Integer | 25 |
sound |
The sound effect played by the explosion. This can be either be a vanilla sound or a custom sound from a resource pack. | Sound | ENTITY_GENERIC_EXPLOSION |
type |
The type of effect used. The three types are DELAYED , INSTANT , and REPEATING . |
String | INSTANT |
speed |
The speed of the explosion particles. | Float | 0.5 |
ExplodeExample:
spell-class: ".instant.DummySpell"
effects:
Effect1:
position: caster
effect: effectlib
effectlib:
class: ExplodeEffect
particle1: EXPLOSION_NORMAL
particle2: EXPLOSION_HUGE
amount: 25
sound: ENTITY_GENERIC_EXPLOSION
type: INSTANT
speed: 0.5
!!!This is not the official MagicSpells wiki!!!
This wiki was cloned from the official one to document the changes to the plugin that were made specifically for Dwarves vs Zombies 2023 and Lords of Minecraft 2