|
| | getLight (int $x, int $y, int $z) |
| |
| | setLight (int $x, int $y, int $z, int $level) |
| |
| | __construct (Level $level) |
| |
| | addSpreadNode (int $x, int $y, int $z) |
| |
| | addRemoveNode (int $x, int $y, int $z, int $oldLight) |
| |
| | setAndUpdateLight (int $x, int $y, int $z, int $newLevel) |
| |
| | execute () |
| |
|
| | getLight (int $x, int $y, int $z) |
| |
| | setLight (int $x, int $y, int $z, int $level) |
| |
| | computeRemoveLight (int $x, int $y, int $z, int $oldAdjacentLevel) |
| |
| | computeSpreadLight (int $x, int $y, int $z, int $newAdjacentLevel) |
| |
| | $level |
| |
| | $spreadQueue |
| |
| | $spreadVisited = [] |
| |
| | $removalQueue |
| |
| | $removalVisited = [] |
| |
◆ getLight()
| getLight |
( |
int |
$x, |
|
|
int |
$y, |
|
|
int |
$z |
|
) |
| |
27 return $this->level->getBlockSkyLightAt($x, $y, $z);
◆ setLight()
| setLight |
( |
int |
$x, |
|
|
int |
$y, |
|
|
int |
$z, |
|
|
int |
$level |
|
) |
| |
32 $this->level->setBlockSkyLightAt($x, $y, $z,
$level);
The documentation for this class was generated from the following file:
- src/pocketmine/level/SkyLightUpdate.php