Skip to content
JasperLorelai edited this page Jan 13, 2024 · 2 revisions

Source Code

class: Sphere

Description:

This effect creates a 3D Sphere.

Configuration:

Option Default
type "repeating"
particle "spell_mob"
iterations 500
period 1

Other:

Option Description Type Default
radius The radius of the sphere. Double 0.6
yOffset The offset of the sphere on the y-axis. Double 0
particles The number of particles to display. Integer 50
radiusIncrease The amount to increase the radius of the sphere per tick. Double 0
particleIncrease The amount to increase the number of particles per tick. Integer 0

Example:

SphereExample:
    spell-class: ".instant.DummySpell"
    effects:
      Effect1:
        position: caster
        effect: effectlib 
        effectlib:
            class: SphereEffect
            particle: FLAME
            radius: 0.6
            yOffset: 0
            particles: 50
            radiusIncrease: 0
            particleIncrease: 0
            type: REPEATING
            period: 1
            iterations: 500
Clone this wiki locally