Class WorldLightManager

    • Field Detail

      • blockEngine

        @Nullable
        private final LightEngine<?,​?> blockEngine
      • skyEngine

        @Nullable
        private final LightEngine<?,​?> skyEngine
    • Constructor Detail

      • WorldLightManager

        public WorldLightManager​(IChunkLightProvider p_i51290_1_,
                                 boolean p_i51290_2_,
                                 boolean p_i51290_3_)
    • Method Detail

      • checkBlock

        public void checkBlock​(BlockPos p_215568_1_)
      • onBlockEmissionIncrease

        public void onBlockEmissionIncrease​(BlockPos p_215573_1_,
                                            int p_215573_2_)
      • hasLightWork

        public boolean hasLightWork()
      • runUpdates

        public int runUpdates​(int p_215575_1_,
                              boolean p_215575_2_,
                              boolean p_215575_3_)
      • enableLightSources

        public void enableLightSources​(ChunkPos p_215571_1_,
                                       boolean p_215571_2_)
      • getDebugData

        public java.lang.String getDebugData​(LightType p_215572_1_,
                                             SectionPos p_215572_2_)
      • queueSectionData

        public void queueSectionData​(LightType p_215574_1_,
                                     SectionPos p_215574_2_,
                                     @Nullable
                                     NibbleArray p_215574_3_,
                                     boolean p_215574_4_)
      • retainData

        public void retainData​(ChunkPos p_223115_1_,
                               boolean p_223115_2_)
      • getRawBrightness

        public int getRawBrightness​(BlockPos p_227470_1_,
                                    int p_227470_2_)