import { NBTUtils } from "https://deno.land/x/fkm_nbt@v0.1.0/mod.ts";
Static Methods
private
hasBedrockLevelHeader(data: Uint8Array | number[]): booleanprivate
hasGzipHeader(data: Uint8Array | number[]): booleanprivate
readNBT(reader: BinaryReader): NBTElementprivate
writeNBT(tag: NBTElement, writer: BinaryWriter): voidbyId(id: number): NBTType<NBTElement>
jnbtToJSNBT(obj: JObjComp): JSObj
jnbtToJSNBT(obj: JObjList): JSObjArr
jnbtToNBT(obj: JObjComp): NBTCompound
jnbtToTreeView(obj: JObjComp): string
jnbtToTreeView(obj: JObjList): string
jsnbtToJNBT(obj: JSObj): JObjComp
jsnbtToJNBT(obj: JSObjArr): JObjList
jsnbtToNBT(obj: JSObj): NBTCompound
jsnbtToNBT(obj: JSObjArr): NBTList
jsnbtToTreeView(obj: JSObj): string
jsnbtToTreeView(obj: JSObjArr): string
nbtToJNBT(tag: NBTCompound): JObjComp
nbtToJSNBT(tag: NBTCompound): JSObj
nbtToJSNBT(tag: NBTList): JSObjArr
nbtToSNBT()
tag: NBTElement,
prettify?: boolean,
colorType?: "motd" | "ansi" | "none",
nbtToTreeView(tag: NBTElement)
read<T extends NBTElement = NBTCompound>(data: Uint8Array | number[], format?: Format): T
readCompressed<T extends NBTElement = NBTCompound>(data: Uint8Array | number[], format?: Format): T
snbtToJNBT(snbt: string): JObjComp | JObjList
snbtToJSNBT(snbt: string): JSObj | JSObjArr
snbtToNBT(snbt: string)
snbtToTreeView(snbt: string): string
write(): Uint8Array
tag: NBTElement,
format?: Format,
options?: WriteOptions,
writeCompressed(): Uint8Array
tag: NBTElement,
format?: Format,
options?: WriteOptions,