Gets the Chunk object
This method must be implemented by all the level formats.
public getChunk ( integer $X, integer $Z, boolean $create = false ) : pocketmine\level\format\FullChunk | pocketmine\level\format\Chunk | ||
$X | integer | absolute Chunk X value |
$Z | integer | absolute Chunk Z value |
$create | boolean | Whether to generate the chunk if it does not exist |
return | pocketmine\level\format\FullChunk | pocketmine\level\format\Chunk |