Skip to content

Arc Effect

AkitoBurrito edited this page Jun 15, 2023 · 3 revisions

Arc Effect

Source Code

Description: This effect creates an arc that extends from the source location to the target location.

Configuration:

Option Description Type Default Value
particle The name of the particle that is displayed. (uses different particle names compared to general magicspells). The list of these particles can be found here. String FLAME
particles The number of particles that are displayed. Integer 100
height The height of the arc in blocks. Float 2
type The type of effect used. The three types are DELAYED, INSTANT, and REPEATING. String REPEATING
period How long to wait, in ticks, between each iteration. Integer 1
iterations Number of times to repeat the effect. Integer 200

Example:

AnimatedBallExample:
    spell-class: ".instant.DummySpell"
    effects:
      Effect1:
        position: caster
        effect: effectlib 
        effectlib:
            class: ArcEffect
            particle: FLAME
            particles: 100
            height: 2
Clone this wiki locally