Skip to content

NbtValue

NbtValue = string | number | boolean | bigint | TypedNumber | TypedArray | RawSnbt | MacroArg | NbtValue[] | {[key: string]: NbtValue | undefined; }

A value written as NBT: strings, booleans, numbers (whole numbers become ints, others doubles; use nbt.byte(...) and friends for other types), lists, compounds, and macro arguments.