SubChunkExplorer
Properties
$currentChunk
php
public ?\pocketmine\world\format\Chunk $currentChunk$currentSubChunk
php
public ?\pocketmine\world\format\SubChunk $currentSubChunk$currentX protected
php
protected int $currentX$currentY protected
php
protected int $currentY$currentZ protected
php
protected int $currentZ$world
php
public \pocketmine\world\ChunkManager $worldMethods
__construct()
php
public function __construct(\pocketmine\world\ChunkManager $world)invalidate()
php
public function invalidate() : voidisValid()
php
public function isValid() : boolReturns whether we currently have a valid terrain pointer.
moveTo()
php
public function moveTo(int $x, int $y, int $z) : intmoveToChunk()
php
public function moveToChunk(int $chunkX, int $chunkY, int $chunkZ) : int