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

helix / ConsumeEffect

Type Alias: ConsumeEffect โ€‹

ConsumeEffect = { effects: readonly EffectInstance[]; probability?: number; type: "apply_effects"; } | { effects: readonly MobEffect[]; type: "remove_effects"; } | { type: "clear_all_effects"; } | { diameter?: number; type: "teleport_randomly"; } | { sound: ConsumeSound; type: "play_sound"; }

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

One on_consume_effects entry. Build it with ConsumeEffect.

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