Potion Effect

This action spawns a customizable firework effect.

Options

KeyDescriptionTypeRequiredDefault

effect

Specifies the type of firework.

String

No

BALL

duration

Sets the primary colors of the firework.

String List

No

-

amplifier

Specifies the fade colors of the firework.

String List

No

-

power

Determines the flight duration and the size of the explosion.

Integer

No

0

trail

Adds a trail effect to the firework.

Boolean

No

false

flicker

Adds a flicker effect to the firework.

Boolean

No

false

Example:

actions:
  firework-1: # Unique id
    action: FIREWORK
    type: STAR
    colors: [RED, GREEN, BLUE]
    fade-colors: [YELLOW, PURPLE, AQUA]
    power: 5
    trail: true
    flicker: true
  firework-2: # Unique id
    action: FIREWORK
    colors: [BLUE]

Last updated