PocketMine-MP 5.27.1 git-9af3cde03fabbe4129c79e46dc87ffa0fff446e6
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: