Interface LightEventListener

All Known Subinterfaces:
LayerLightEventListener
All Known Implementing Classes:
BlockLightEngine, LayerLightEventListener.DummyLightLayerEventListener, LevelLightEngine, LightEngine, SkyLightEngine, ThreadedLevelLightEngine

public interface LightEventListener
  • Method Details

    • checkBlock

      void checkBlock(BlockPos pos)
    • hasLightWork

      boolean hasLightWork()
    • runLightUpdates

      int runLightUpdates()
    • updateSectionStatus

      default void updateSectionStatus(BlockPos pos, boolean isQueueEmpty)
    • updateSectionStatus

      void updateSectionStatus(SectionPos pos, boolean isQueueEmpty)
    • setLightEnabled

      void setLightEnabled(ChunkPos chunkPos, boolean lightEnabled)
    • propagateLightSources

      void propagateLightSources(ChunkPos chunkPos)