Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

helix / FireworkExplosionInput

Interface: FireworkExplosionInput โ€‹

Defined in: core/values/firework.ts:14

One burst of a rocket. Colors are packed RGB ints - write them as 0xff0000.

Properties โ€‹

colors โ€‹

colors: readonly number[]

Defined in: core/values/firework.ts:17

Primary colours, packed RGB. Needs at least one or the burst is invisible.


fadeColors? โ€‹

optional fadeColors?: readonly number[]

Defined in: core/values/firework.ts:19

Colors the burst fades to.


shape โ€‹

shape: FireworkShape

Defined in: core/values/firework.ts:15


trail? โ€‹

optional trail?: boolean

Defined in: core/values/firework.ts:21

The diamond-trail effect.


twinkle? โ€‹

optional twinkle?: boolean

Defined in: core/values/firework.ts:23

The glowstone-dust twinkle/crackle.

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.