Nova Effect - MomoPewpew/MagicSpells GitHub Wiki

Description: Creates an expanding block nova

Source Code

Configuration:

Option Description Variable Type Default Value
type Block type and its block data. Format: quartz_stairs[waterlogged=true] String fire
types Block types that will be randomly appearing. String List null
radius Radius of the nova. Integer 3
range Display range of the nova. Integer 20
circle-shape If set to true, nova will form a circle, if set to false, a square. Boolean false
expanding-radius-change How big should each wave be, in blocks. Integer 1
start-radius The starting radius of the nova. Integer 0
height-per-tick Height per new wave. Integer 0
expanding-radius-change How big should each wave be, in blocks. Integer 1
expand-interval Interval between forming a new wave. Integer 5
remove-previous-blocks Whether it should remove the previous wave of blocks. Boolean true

Example:

nova:
    spell-class: ".instant.DummySpell"
    effects:
        eff1:
            position: caster
            effect: nova
            range: 1
            type: stone
            start-radius: 1
            expanding-radius-change: 1
            radius: 10
            circle-shape: true
            expand-interval: 4