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

    Constructors
    Constructor
    Description
    VirtualLightEngine(ToIntFunction<net.minecraft.core.BlockPos> blockLightFunc, ToIntFunction<net.minecraft.core.BlockPos> skyLightFunc, net.minecraft.world.level.BlockGetter level)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.level.lighting.LayerLightEventListener
    getLayerListener(net.minecraft.world.level.LightLayer layer)
     
    int
    getRawBrightness(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, updateSectionStatus

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      getLayerListener in class net.minecraft.world.level.lighting.LevelLightEngine
    • getRawBrightness

      public int getRawBrightness(net.minecraft.core.BlockPos pos, int amount)
      Overrides:
      getRawBrightness in class net.minecraft.world.level.lighting.LevelLightEngine