Documentation

JsonNbtParser
in package

Table of Contents

parseJson()  : CompoundTag
Parses JSON-formatted NBT into a CompoundTag and returns it. Used for parsing tags supplied with the /give command.
parseCompound()  : CompoundTag
parseList()  : ListTag
readBreak()  : bool
readKey()  : string
readValue()  : Tag
skipWhitespace()  : bool

Methods

parseJson()

Parses JSON-formatted NBT into a CompoundTag and returns it. Used for parsing tags supplied with the /give command.

public static parseJson(string $data) : CompoundTag
Parameters
$data : string
Tags
throws
NbtDataException
Return values
CompoundTag

Search results