PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
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: