PocketMine-MP 5.15.1 git-5ef247620a7c6301a849b54e5ef1009217729fc8
pocketmine\nbt\JsonNbtParser Class Reference
+ Collaboration diagram for pocketmine\nbt\JsonNbtParser:

Static Public Member Functions

static parseJson (string $data)
 

Detailed Description

Definition at line 44 of file JsonNbtParser.php.

Member Function Documentation

◆ parseJson()

static pocketmine\nbt\JsonNbtParser::parseJson ( string  $data)
static

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

Exceptions
NbtDataException

Definition at line 51 of file JsonNbtParser.php.

Referenced by pocketmine\command\defaults\GiveCommand\execute().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: