PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
Loading...
Searching...
No Matches
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: