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

helix / field

Function: field() โ€‹

field<T>(spec): FieldSpec<T>

Defined in: core/values/entity-nbt/fields.ts:32

A schema field: its NBT key, an optional encoder, and the versions it exists in.

Type Parameters โ€‹

T โ€‹

T

Parameters โ€‹

spec โ€‹

FieldSpec<T>

Returns โ€‹

FieldSpec<T>

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