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

helix / PredicateRef

Class: PredicateRef โ€‹

Defined in: core/values/predicate/ref.ts:7

A handle to a registered predicate that renders as its id. Created by Datapack.predicate.

Implements โ€‹

Constructors โ€‹

Constructor โ€‹

new PredicateRef(id): PredicateRef

Defined in: core/values/predicate/ref.ts:8

Parameters โ€‹

id โ€‹

string

Returns โ€‹

PredicateRef

Properties โ€‹

id โ€‹

readonly id: string

Defined in: core/values/predicate/ref.ts:8

Methods โ€‹

render() โ€‹

render(): string

Defined in: core/values/predicate/ref.ts:9

Returns โ€‹

string

Implementation of โ€‹

CommandValue.render

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