ChunkLoadEvent
Extends ChunkEvent
Called when a Chunk is loaded or newly created by the world generator.
Methods
__construct()
php
public function __construct(\pocketmine\world\World $world, int $chunkX, int $chunkZ, \pocketmine\world\format\Chunk $chunk, bool $newChunk)isNewChunk()
php
public function isNewChunk() : boolReturns whether the chunk is newly generated. If false, the chunk was loaded from storage.
