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

helix / EffectInstance

Interface: EffectInstance โ€‹

Defined in: core/values/item/consumable.ts:29

A mob effect to give, as apply_effects takes it.

Properties โ€‹

ambient? โ€‹

readonly optional ambient?: boolean

Defined in: core/values/item/consumable.ts:35


amplifier? โ€‹

readonly optional amplifier?: number

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

0 is level I.


duration? โ€‹

readonly optional duration?: number

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

In ticks.


id โ€‹

readonly id: MobEffect

Defined in: core/values/item/consumable.ts:30


showIcon? โ€‹

readonly optional showIcon?: boolean

Defined in: core/values/item/consumable.ts:37


showParticles? โ€‹

readonly optional showParticles?: boolean

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

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