Skip to content

SimpleChunkManager ​

class · pocketmine\world\SimpleChunkManager · source

Implements ChunkManager

Properties ​

$chunks protected ​

php
protected array $chunks

Methods ​

__construct() ​

php
public function __construct(int $minY, int $maxY)

cleanChunks() ​

php
public function cleanChunks() : void

getBlockAt() ​

php
public function getBlockAt(int $x, int $y, int $z) : \pocketmine\block\Block

getChunk() ​

php
public function getChunk(int $chunkX, int $chunkZ) : ?\pocketmine\world\format\Chunk

getMaxY() ​

php
public function getMaxY() : int

getMinY() ​

php
public function getMinY() : int

isInWorld() ​

php
public function isInWorld(int $x, int $y, int $z) : bool

setBlockAt() ​

php
public function setBlockAt(int $x, int $y, int $z, \pocketmine\block\Block $block) : void

setChunk() ​

php
public function setChunk(int $chunkX, int $chunkZ, \pocketmine\world\format\Chunk $chunk) : void

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.