ParticleCloudSpell - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

spell-class: ".targeted.ParticleCloudSpell"

targeting cast argument values:

Value Supported
entity true
location true
entity_from_location false

Description:

Targeted Spell that creates a particle cloud at the target location applying potion effects.

Configuration:

Since 4.0 Beta 13 some of these options support dynamic values through numeric or string expressions.

Option Description Type Default Supports expressions
custom-name Name that displays above the cloud. Rich Text true
Before 4.0 Beta 13: particle-nameSince 4.0 Beta 13: particle Particle used to make the cloud. String "explosion_normal" true
material Block Data for particles that use it. String true
size Redstone size. Float 1 true
dust-color Redstone color. Color "#FF0000" true
color Potion color. Integer - hex color 0xFF0000 true
wait-time-ticks Wait time ticks. Integer 10 true
duration-ticks Duration ticks. Integer 60 true
duration-ticks-on-use Duration ticks on use. Integer 0 true
reapplication-delay-ticks Reapplication delay ticks. Integer 60 true
radius Radius of the cloud. Float 5 true
radius-on-use Radius on use. Float 0 true
radius-per-tick Radius per tick. Float 0 true
use-gravity Should the cloud use gravity? Boolean false true
can-target-entities Should the cloud target entities? Boolean true true
can-target-location Should the cloud target location? Boolean true true
potion-effects String list of potion effects, each following the format: potion duration amplifier ambient particles icon.- potion: potion type- duration: integer defining server tick duration- amplifier: integer- ambient: boolean- particles: boolean- icon: boolean String List false

Example:

particlecloud:
    spell-class: ".targeted.ParticleCloudSpell"
    particle-name: explosion_normal
    wait-time-ticks: 10
    duration-ticks: 100
    duration-ticks-on-use: 0
    reapplication-delay-ticks: 10
    radius: 3
    radius-on-use: 0
    radius-per-tick: 0.01
    potion-effects:
        - slowness 40 1 true true true