Interface LightEventListener
- All Known Subinterfaces:
LayerLightEventListener
- All Known Implementing Classes:
BlockLightEngine
,LayerLightEngine
,LayerLightEventListener.DummyLightLayerEventListener
,LevelLightEngine
,SkyLightEngine
,ThreadedLevelLightEngine
public interface LightEventListener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkBlock(BlockPos p_164454_)
void
enableLightSources(ChunkPos p_164452_, boolean p_164453_)
boolean
void
onBlockEmissionIncrease(BlockPos p_164455_, int p_164456_)
int
runUpdates(int p_164449_, boolean p_164450_, boolean p_164451_)
default void
updateSectionStatus(BlockPos p_75835_, boolean p_75836_)
void
updateSectionStatus(SectionPos p_75837_, boolean p_75838_)
-
Method Details
-
checkBlock
-
onBlockEmissionIncrease
-
hasLightWork
boolean hasLightWork() -
runUpdates
int runUpdates(int p_164449_, boolean p_164450_, boolean p_164451_) -
updateSectionStatus
-
updateSectionStatus
-
enableLightSources
-