EffectLib Disco Ball - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

class: DiscoBall

Description:

This effect creates a shiny disco ball in the sky.

Configuration:

Overridden:

Option Default
type "repeating"
period 7
iterations 500

Other:

Option Description Type Default
sphereRadius Radius of the sphere. Float 0.6
max Max sizes of the lines. Integer 15
sphereParticle Particle of the sphere. Particle "flame"
lineParticle Particle of the lines. Particle "redstone"
sphereColor Color of the sphere. Color
lineColor Color of the lines. Color
maxLines Max number of lines. Integer 7
lineParticles Max number of particles per line. Integer 100
sphereParticles Max number of particles per line. Integer 50
direction Direction of the lines. May be: up, down, or both. String "down"