Skip to content
JasperLorelai edited this page May 19, 2024 · 10 revisions

Source Code

effect: nova

Description:

Creates an expanding block nova

Configuration:

Since 4.0 Beta 13 some of these options support dynamic values through numeric or string expressions.

Option Description Type Default Supports expressions
type Block data String "fire" true
types Block data that will be randomly appearing. String List false
range Display range of the nova. Integer 20 true
radius Radius of the nova. Integer 3 true
start-radius The starting radius of the nova. Integer 0 true
height-per-tick Height per new wave. Integer 0 true
expand-interval Interval between forming a new wave. Integer 5 true
expanding-radius-change How big should each wave be, in blocks. Integer 1 true
circle-shape If set to true, nova will form a circle, if set to false, a square. Boolean false true
remove-previous-blocks Whether it should remove the previous wave of blocks. Boolean true 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
Clone this wiki locally