Class VirtualLightEngine
java.lang.Object
net.minecraft.world.level.lighting.LevelLightEngine
dev.engine_room.flywheel.lib.model.baked.VirtualLightEngine
- All Implemented Interfaces:
net.minecraft.world.level.lighting.LightEventListener
public final class VirtualLightEngine
extends net.minecraft.world.level.lighting.LevelLightEngine
-
Field Summary
Fields inherited from class net.minecraft.world.level.lighting.LevelLightEngine
levelHeightAccessor, LIGHT_SECTION_PADDING -
Constructor Summary
ConstructorsConstructorDescriptionVirtualLightEngine(ToIntFunction<net.minecraft.core.BlockPos> blockLightFunc, ToIntFunction<net.minecraft.core.BlockPos> skyLightFunc, net.minecraft.world.level.BlockGetter level) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.level.lighting.LayerLightEventListenergetLayerListener(net.minecraft.world.level.LightLayer layer) intgetRawBrightness(net.minecraft.core.BlockPos pos, int amount) Methods inherited from class net.minecraft.world.level.lighting.LevelLightEngine
checkBlock, getDebugData, getDebugSectionType, getLightSectionCount, getMaxLightSection, getMinLightSection, hasLightWork, lightOnInSection, propagateLightSources, queueSectionData, retainData, runLightUpdates, setLightEnabled, updateSectionStatusMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.lighting.LightEventListener
updateSectionStatus
-
Constructor Details
-
VirtualLightEngine
public VirtualLightEngine(ToIntFunction<net.minecraft.core.BlockPos> blockLightFunc, ToIntFunction<net.minecraft.core.BlockPos> skyLightFunc, net.minecraft.world.level.BlockGetter level)
-
-
Method Details
-
getLayerListener
public net.minecraft.world.level.lighting.LayerLightEventListener getLayerListener(net.minecraft.world.level.LightLayer layer) - Overrides:
getLayerListenerin classnet.minecraft.world.level.lighting.LevelLightEngine
-
getRawBrightness
public int getRawBrightness(net.minecraft.core.BlockPos pos, int amount) - Overrides:
getRawBrightnessin classnet.minecraft.world.level.lighting.LevelLightEngine
-