Skip to content

SkyLightUpdate ​

class · pocketmine\world\light\SkyLightUpdate · source

Extends LightUpdate

Methods ​

__construct() ​

php
public function __construct(\pocketmine\world\utils\SubChunkExplorer $subChunkExplorer, array $lightFilters, array $directSkyLightBlockers)

getCurrentLightArray() protected ​

php
protected function getCurrentLightArray() : \pocketmine\world\format\LightArray

getEffectiveLight() protected ​

php
protected function getEffectiveLight(int $x, int $y, int $z) : int

recalculateChunk() ​

php
public function recalculateChunk(int $chunkX, int $chunkZ) : int

recalculateNode() ​

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

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