Class FakeLevelLightEngine
java.lang.Object
net.minecraft.world.level.lighting.LevelLightEngine
com.ldtteam.structurize.client.fakelevel.FakeLevelLightEngine
- All Implemented Interfaces:
net.minecraft.world.level.lighting.LightEventListener
public class FakeLevelLightEngine
extends net.minecraft.world.level.lighting.LevelLightEngine
Porting: class is relatively small, just check super class manually (all of missing methods are/were just aliases)
-
Field Summary
Fields inherited from class net.minecraft.world.level.lighting.LevelLightEngine
levelHeightAccessor, LIGHT_SECTION_PADDING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckBlock(net.minecraft.core.BlockPos p_75823_) getDebugData(net.minecraft.world.level.LightLayer p_75817_, net.minecraft.core.SectionPos p_75818_) net.minecraft.world.level.lighting.LayerLightSectionStorage.SectionTypegetDebugSectionType(net.minecraft.world.level.LightLayer p_285008_, net.minecraft.core.SectionPos p_285336_) net.minecraft.world.level.lighting.LayerLightEventListenergetLayerListener(net.minecraft.world.level.LightLayer p_75815_) intgetRawBrightness(net.minecraft.core.BlockPos p_75832_, int p_75833_) booleanbooleanlightOnInSection(net.minecraft.core.SectionPos p_285319_) voidpropagateLightSources(net.minecraft.world.level.ChunkPos p_284998_) voidqueueSectionData(net.minecraft.world.level.LightLayer p_285328_, net.minecraft.core.SectionPos p_284962_, net.minecraft.world.level.chunk.DataLayer p_285035_) voidretainData(net.minecraft.world.level.ChunkPos p_75829_, boolean p_75830_) intvoidsetLightEnabled(net.minecraft.world.level.ChunkPos p_285439_, boolean p_285012_) voidupdateSectionStatus(net.minecraft.core.BlockPos p_75835_, boolean p_75836_) voidupdateSectionStatus(net.minecraft.core.SectionPos p_75827_, boolean p_75828_) Methods inherited from class net.minecraft.world.level.lighting.LevelLightEngine
getLightSectionCount, getMaxLightSection, getMinLightSection
-
Constructor Details
-
FakeLevelLightEngine
-
-
Method Details
-
getRawBrightness
public int getRawBrightness(net.minecraft.core.BlockPos p_75832_, int p_75833_) - Overrides:
getRawBrightnessin classnet.minecraft.world.level.lighting.LevelLightEngine
-
getDebugData
public String getDebugData(net.minecraft.world.level.LightLayer p_75817_, net.minecraft.core.SectionPos p_75818_) - Overrides:
getDebugDatain classnet.minecraft.world.level.lighting.LevelLightEngine
-
getLayerListener
public net.minecraft.world.level.lighting.LayerLightEventListener getLayerListener(net.minecraft.world.level.LightLayer p_75815_) - Overrides:
getLayerListenerin classnet.minecraft.world.level.lighting.LevelLightEngine
-
getDebugSectionType
public net.minecraft.world.level.lighting.LayerLightSectionStorage.SectionType getDebugSectionType(net.minecraft.world.level.LightLayer p_285008_, net.minecraft.core.SectionPos p_285336_) - Overrides:
getDebugSectionTypein classnet.minecraft.world.level.lighting.LevelLightEngine
-
lightOnInSection
public boolean lightOnInSection(net.minecraft.core.SectionPos p_285319_) - Overrides:
lightOnInSectionin classnet.minecraft.world.level.lighting.LevelLightEngine
-
checkBlock
public void checkBlock(net.minecraft.core.BlockPos p_75823_) - Specified by:
checkBlockin interfacenet.minecraft.world.level.lighting.LightEventListener- Overrides:
checkBlockin classnet.minecraft.world.level.lighting.LevelLightEngine
-
hasLightWork
public boolean hasLightWork()- Specified by:
hasLightWorkin interfacenet.minecraft.world.level.lighting.LightEventListener- Overrides:
hasLightWorkin classnet.minecraft.world.level.lighting.LevelLightEngine
-
propagateLightSources
public void propagateLightSources(net.minecraft.world.level.ChunkPos p_284998_) - Specified by:
propagateLightSourcesin interfacenet.minecraft.world.level.lighting.LightEventListener- Overrides:
propagateLightSourcesin classnet.minecraft.world.level.lighting.LevelLightEngine
-
queueSectionData
public void queueSectionData(net.minecraft.world.level.LightLayer p_285328_, net.minecraft.core.SectionPos p_284962_, net.minecraft.world.level.chunk.DataLayer p_285035_) - Overrides:
queueSectionDatain classnet.minecraft.world.level.lighting.LevelLightEngine
-
retainData
public void retainData(net.minecraft.world.level.ChunkPos p_75829_, boolean p_75830_) - Overrides:
retainDatain classnet.minecraft.world.level.lighting.LevelLightEngine
-
runLightUpdates
public int runLightUpdates()- Specified by:
runLightUpdatesin interfacenet.minecraft.world.level.lighting.LightEventListener- Overrides:
runLightUpdatesin classnet.minecraft.world.level.lighting.LevelLightEngine
-
setLightEnabled
public void setLightEnabled(net.minecraft.world.level.ChunkPos p_285439_, boolean p_285012_) - Specified by:
setLightEnabledin interfacenet.minecraft.world.level.lighting.LightEventListener- Overrides:
setLightEnabledin classnet.minecraft.world.level.lighting.LevelLightEngine
-
updateSectionStatus
public void updateSectionStatus(net.minecraft.core.SectionPos p_75827_, boolean p_75828_) - Specified by:
updateSectionStatusin interfacenet.minecraft.world.level.lighting.LightEventListener- Overrides:
updateSectionStatusin classnet.minecraft.world.level.lighting.LevelLightEngine
-
updateSectionStatus
public void updateSectionStatus(net.minecraft.core.BlockPos p_75835_, boolean p_75836_)
-