Skip to content
JasperLorelai edited this page Nov 1, 2020 · 30 revisions

Description: Plays a particle effect.

Source Code

Configuration:

Option Description Variable Type Default Value
particle-name the name of the particle that is displayed. String ""
material Material to use for the particle - if that particle supports material (block, falling dust, item). String ""
count The number of particles that are displayed in the effect. Integer 5
speed The speed of the particle Double 0.2
horiz-spread Defines how much the particle is spread horizontally. Double 0.2
vert-spread Defines how much the particle is spread vertically. Double 0.2
x-spread Defines x axis spread. Double 0.2
y-spread Defines y axis spread. Double 0.2
z-spread Defines z axis spread. Double 0.2
size Defines particle size (currently only supported by the redstone particle). Double 1
color Defines particle color. String #ff0000

All particle names can be found at https://goo.gl/5mnajo.

Example:

lavabuff:
    spell-class: ".buff.DummySpell"
    duration: 10
    effect-interval: 5
    effects:
          lava:
               position: caster
               effect: particles
               particle-name: lava
               horiz-spread: 0.3
               vert-spread: 0.3
               speed: 0.2
               count: 8

Clone this wiki locally