Skip to main content
Version: Next

Firework

Spawns a customizable firework rocket.

Parameters

ParameterDescriptionExample
LocationThe location to spawn the firework in the format world, x, y, z.world, 196.3, 64, -381.8
VelocitySets the velocity of the firework, used to launch it in a direction. If ShotAtAngle is false, it will eventually go upward automatically. Use 0, 0, 0 for a normal firework launch. Format: x, y, z.0.5, 1.3, 0
ColorsThe colors the firework will display, formatted as a list of hex colors, e.g. #ffffff, #000000.#ffffff, #000000
FadeColorsThe fade colors of the firework, same format as Colors. Leave empty (' ') for no fade colors.#ffffff, #000000, #cccccc
PowerThe firework power, from 0 to 127. Use -1 for instant explosion.2
FireworkShapeShape of the firework explosion. Possible values: BALL, BALL_LARGE, BURST, CREEPER, or STAR.BALL
ShotAtAngleIf true, the firework will fly straight like launched from a dispenser or crossbow; you must set Velocity to control direction. Values: true or false.false
FlickerWhether the explosion flickers (true or false).true
TrailWhether the explosion leaves a trail (true or false).true
DelayNumber of ticks the effect waits after the show starts before activating.40
YML Preset
'1':
Type: FIREWORK
Location: world, 0, 0, 0
Velocity: 0, 0, 0
Colors: '#ffffff, #000000'
FadeColors: ' '
Power: 2
FireworkShape: BALL
ShotAtAngle: false
Flicker: false
Trail: false
Delay: 0

Preview

Firework Preview

Youtube Tutorial

Work in progress... :)