Skip to content

PlayerPostChunkSendEvent ​

final class · pocketmine\event\player\PlayerPostChunkSendEvent · source

Extends PlayerEvent

Called after a player is sent a chunk as part of their view radius.

Methods ​

__construct() ​

php
public function __construct(\pocketmine\player\Player $player, int $chunkX, int $chunkZ)

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.