Skip to content

SubChunkExplorer ​

class · pocketmine\world\utils\SubChunkExplorer · source

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 $world

Methods ​

__construct() ​

php
public function __construct(\pocketmine\world\ChunkManager $world)

invalidate() ​

php
public function invalidate() : void

isValid() ​

php
public function isValid() : bool

Returns whether we currently have a valid terrain pointer.

moveTo() ​

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

moveToChunk() ​

php
public function moveToChunk(int $chunkX, int $chunkY, int $chunkZ) : int

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