Interface LightEventListener
- All Known Subinterfaces:
LayerLightEventListener
- All Known Implementing Classes:
BlockLightEngine,LayerLightEventListener.DummyLightLayerEventListener,LevelLightEngine,LightEngine,SkyLightEngine,ThreadedLevelLightEngine
public interface LightEventListener
-
Method Summary
Modifier and TypeMethodDescriptionvoidcheckBlock(BlockPos pos) booleanvoidpropagateLightSources(ChunkPos chunkPos) intvoidsetLightEnabled(ChunkPos chunkPos, boolean lightEnabled) default voidupdateSectionStatus(BlockPos pos, boolean isQueueEmpty) voidupdateSectionStatus(SectionPos pos, boolean isQueueEmpty)
-
Method Details
-
checkBlock
-
hasLightWork
boolean hasLightWork() -
runLightUpdates
int runLightUpdates() -
updateSectionStatus
-
updateSectionStatus
-
setLightEnabled
-
propagateLightSources
-