PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
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: