|
| 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 |
|
) |
| |
26 return $this->level->getBlockLightAt($x, $y, $z);
◆ setLight()
setLight |
( |
int |
$x, |
|
|
int |
$y, |
|
|
int |
$z, |
|
|
int |
$level |
|
) |
| |
30 $this->level->setBlockLightAt($x, $y, $z,
$level);
The documentation for this class was generated from the following file:
- src/pocketmine/level/BlockLightUpdate.php