|
| 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 32 of file BlockLightUpdate.php.
◆ __construct()
pocketmine\world\light\BlockLightUpdate::__construct |
( |
SubChunkExplorer | $subChunkExplorer, |
|
|
array | $lightFilters, |
|
|
private array | $lightEmitters ) |
- Parameters
-
int[] | $lightFilters | |
int[] | $lightEmitters | @phpstan-param array<int, int> $lightFilters @phpstan-param array<int, int> $lightEmitters |
Definition at line 39 of file BlockLightUpdate.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\BlockLightUpdate::getCurrentLightArray |
( |
| ) |
|
|
protected |
◆ getEffectiveLight()
pocketmine\world\light\LightUpdate::getEffectiveLight |
( |
int | $x, |
|
|
int | $y, |
|
|
int | $z ) |
|
protectedinherited |
◆ getHighestAdjacentLight()
pocketmine\world\light\LightUpdate::getHighestAdjacentLight |
( |
int | $x, |
|
|
int | $y, |
|
|
int | $z ) |
|
protectedinherited |
◆ recalculateChunk()
pocketmine\world\light\BlockLightUpdate::recalculateChunk |
( |
int | $chunkX, |
|
|
int | $chunkZ ) |
◆ recalculateNode()
pocketmine\world\light\BlockLightUpdate::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: