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

helix / EffectIdNbt

Class: EffectIdNbt โ€‹

Defined in: core/values/effect.ts:38

An effect id in an NBT compound: numeric before 1.20.2, the namespaced id since.

Extends โ€‹

Constructors โ€‹

Constructor โ€‹

new EffectIdNbt(effect): EffectIdNbt

Defined in: core/values/effect.ts:39

Parameters โ€‹

effect โ€‹

MobEffect

Returns โ€‹

EffectIdNbt

Overrides โ€‹

LoweredValue.constructor

Properties โ€‹

effect โ€‹

readonly effect: MobEffect

Defined in: core/values/effect.ts:39


lowered โ€‹

protected readonly lowered: true = true

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

Tells lowered values apart from plain objects (e.g. NBT compounds).

Inherited from โ€‹

LoweredValue.lowered

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