|
| computeRemoveLight (int $x, int $y, int $z, int $oldAdjacentLevel, LightPropagationContext $context, LightArray $lightArray) |
|
| computeSpreadLight (int $x, int $y, int $z, int $newAdjacentLevel, LightPropagationContext $context, LightArray $lightArray, SubChunk $subChunk, int $side) |
|
| getCurrentLightArray () |
|
| getEffectiveLight (int $x, int $y, int $z) |
|
| getHighestAdjacentLight (int $x, int $y, int $z) |
|
Definition at line 35 of file SkyLightUpdate.php.
◆ __construct()
pocketmine\world\light\SkyLightUpdate::__construct |
( |
SubChunkExplorer | $subChunkExplorer, |
|
|
array | $lightFilters, |
|
|
private array | $directSkyLightBlockers ) |
- Parameters
-
int[] | $lightFilters | |
true[] | $directSkyLightBlockers | @phpstan-param array<int, int> $lightFilters @phpstan-param array<int, true> $directSkyLightBlockers |
Definition at line 42 of file SkyLightUpdate.php.
◆ computeRemoveLight()
pocketmine\world\light\LightUpdate::computeRemoveLight |
( |
int | $x, |
|
|
int | $y, |
|
|
int | $z, |
|
|
int | $oldAdjacentLevel, |
|
|
LightPropagationContext | $context, |
|
|
LightArray | $lightArray ) |
|
protectedinherited |
◆ computeSpreadLight()
pocketmine\world\light\LightUpdate::computeSpreadLight |
( |
int | $x, |
|
|
int | $y, |
|
|
int | $z, |
|
|
int | $newAdjacentLevel, |
|
|
LightPropagationContext | $context, |
|
|
LightArray | $lightArray, |
|
|
SubChunk | $subChunk, |
|
|
int | $side ) |
|
protectedinherited |
◆ execute()
pocketmine\world\light\LightUpdate::execute |
( |
| ) |
|
|
inherited |
◆ getCurrentLightArray()
pocketmine\world\light\SkyLightUpdate::getCurrentLightArray |
( |
| ) |
|
|
protected |
◆ getEffectiveLight()
pocketmine\world\light\SkyLightUpdate::getEffectiveLight |
( |
int | $x, |
|
|
int | $y, |
|
|
int | $z ) |
|
protected |
◆ getHighestAdjacentLight()
pocketmine\world\light\LightUpdate::getHighestAdjacentLight |
( |
int | $x, |
|
|
int | $y, |
|
|
int | $z ) |
|
protectedinherited |
◆ recalculateChunk()
pocketmine\world\light\SkyLightUpdate::recalculateChunk |
( |
int | $chunkX, |
|
|
int | $chunkZ ) |
◆ recalculateNode()
pocketmine\world\light\SkyLightUpdate::recalculateNode |
( |
int | $x, |
|
|
int | $y, |
|
|
int | $z ) |
◆ setAndUpdateLight()
pocketmine\world\light\LightUpdate::setAndUpdateLight |
( |
int | $x, |
|
|
int | $y, |
|
|
int | $z, |
|
|
int | $newLevel ) |
|
inherited |
◆ $updateNodes
array pocketmine\world\light\LightUpdate::$updateNodes = [] |
|
protectedinherited |
◆ BASE_LIGHT_FILTER
const pocketmine\world\light\LightUpdate::BASE_LIGHT_FILTER = 1 |
|
inherited |
The documentation for this class was generated from the following file: