PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
pocketmine\level\format\PocketChunkParser Class Reference
+ Collaboration diagram for pocketmine\level\format\PocketChunkParser:

Public Member Functions

 loadFile ($file)
 loadRaw ($raw, $file)
 getChunk ($X, $Z)
 writeChunk ($X, $Z)
 parseChunk ($X, $Z)
 loadMap ()
 saveMap ($final=false)
 getFloor ($x, $z)
 getBlock ($x, $y, $z)
 getChunkColumn ($X, $Z, $x, $z, $type=0)
 setBlock ($x, $y, $z, $block, $meta=0)

Public Attributes

 $sectorLength = 4096
 $chunkLength = 86016
 $map = []

Detailed Description

WARNING: This code is old, and only supports the file format partially (reverse engineering) It can break, lock, or hit you in the face in any moment.

Definition at line 31 of file PocketChunkParser.php.

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