Particle Cloud Effect - MomoPewpew/MagicSpells GitHub Wiki

Description: Creates a 'cloud' of particles.

Source Code

Configuration:

Option Description Default Value
duration How long should the cloud last (in ticks) 60
radius-per-tick How much bigger should the radius get every tick? 0
particle The particle name to use for the cloud. List of particle names. EXPLOSION_NORMAL
radius The initial radius for the cloud 5
y-offset the starting y offset of the effect 0

Example:

cloud:
    spell-class: .instant.DummySpell
    effects:
        '1':
            position: caster
            effect: particlecloud
            duration: 200
            radius-per-tick: 0.1
            y-offset: 8