PocketMine-MP 5.15.1 git-5ef247620a7c6301a849b54e5ef1009217729fc8
pocketmine\world\format\io\ChunkData Class Reference
+ Collaboration diagram for pocketmine\world\format\io\ChunkData:

Public Member Functions

 __construct (private array $subChunks, private bool $populated, private array $entityNBT, private array $tileNBT)
 
 getEntityNBT ()
 
 getSubChunks ()
 
 getTileNBT ()
 
 isPopulated ()
 

Detailed Description

Definition at line 29 of file ChunkData.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\world\format\io\ChunkData::__construct ( private array  $subChunks,
private bool  $populated,
private array  $entityNBT,
private array  $tileNBT 
)
Parameters
SubChunk[]$subChunks
CompoundTag[]$entityNBT
CompoundTag[]$tileNBT

Definition at line 36 of file ChunkData.php.

Member Function Documentation

◆ getEntityNBT()

pocketmine\world\format\io\ChunkData::getEntityNBT ( )
Returns
CompoundTag[]

Definition at line 51 of file ChunkData.php.

◆ getSubChunks()

pocketmine\world\format\io\ChunkData::getSubChunks ( )
Returns
SubChunk[]

Definition at line 46 of file ChunkData.php.

◆ getTileNBT()

pocketmine\world\format\io\ChunkData::getTileNBT ( )
Returns
CompoundTag[]

Definition at line 54 of file ChunkData.php.

◆ isPopulated()

pocketmine\world\format\io\ChunkData::isPopulated ( )

Definition at line 48 of file ChunkData.php.


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