Skip to main content
Module

x/minecraft_lib/nbt/utils.ts

A collection of modules that can be used to build Minecraft servers, clients, utilities and other tools.
Latest
import * as minecraftLib from "https://deno.land/x/minecraft_lib@0.1.0/nbt/utils.ts";

Functions

Checks if two tags are equal in value.

Converts tags to a simpler representation using plain objects and arrays, unwrapping the inner tag value where possible.

Constructs tags by inferring the tag type from the value and wrapping it in a tag class. Object and array types are converted recursively.