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

helix / PotionContents

Interface: PotionContents โ€‹

Defined in: core/values/item/builder.ts:32

A potion's colour and effects, for ItemBuilder.potionContents.

Properties โ€‹

color? โ€‹

readonly optional color?: number

Defined in: core/values/item/builder.ts:34

0xRRGGBB.


effects? โ€‹

readonly optional effects?: object[]

Defined in: core/values/item/builder.ts:36

Each duration is in ticks; amplifier 0 is level I.

amplifier? โ€‹

optional amplifier?: number

duration? โ€‹

optional duration?: number

id โ€‹

id: MobEffect

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