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