PocketMine-MP 5.17.1 git-df4ada81e5d74a14046f27cf44a37dcee69d657e
pocketmine\network\mcpe\protocol\types\CacheableNbt Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\CacheableNbt:

Public Member Functions

 __construct (private Tag $nbtRoot)
 
 getEncodedNbt ()
 
 getRoot ()
 

Detailed Description

@phpstan-template TTagType of Tag

Definition at line 24 of file CacheableNbt.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\CacheableNbt::__construct ( private Tag  $nbtRoot)

@phpstan-param TTagType $nbtRoot

Definition at line 30 of file CacheableNbt.php.

Member Function Documentation

◆ getEncodedNbt()

pocketmine\network\mcpe\protocol\types\CacheableNbt::getEncodedNbt ( )

Definition at line 41 of file CacheableNbt.php.

◆ getRoot()

pocketmine\network\mcpe\protocol\types\CacheableNbt::getRoot ( )

@phpstan-return TTagType

Definition at line 37 of file CacheableNbt.php.


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