Skip to content

ChunkEvent ​

abstract class · pocketmine\event\world\ChunkEvent · source

Extends WorldEvent

Chunk-related events

Methods ​

__construct() ​

php
public function __construct(\pocketmine\world\World $world, int $chunkX, int $chunkZ, \pocketmine\world\format\Chunk $chunk)

getChunk() ​

php
public function getChunk() : \pocketmine\world\format\Chunk

getChunkX() ​

php
public function getChunkX() : int

getChunkZ() ​

php
public function getChunkZ() : int

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