public class WorldLightManager extends java.lang.Object implements ILightListener
| コンストラクタと説明 | 
|---|
| WorldLightManager(IChunkLightProvider provider,
                 boolean hasBlockLight,
                 boolean hasSkyLight) | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| void | checkBlock(BlockPos blockPosIn) | 
| void | enableLightSources(ChunkPos p_215571_1_,
                  boolean p_215571_2_) | 
| java.lang.String | getDebugInfo(LightType p_215572_1_,
            SectionPos p_215572_2_) | 
| IWorldLightListener | getLightEngine(LightType type) | 
| int | getLightSubtracted(BlockPos blockPosIn,
                  int amount) | 
| boolean | hasLightWork() | 
| void | onBlockEmissionIncrease(BlockPos blockPosIn,
                       int p_215573_2_) | 
| void | retainData(ChunkPos pos,
          boolean retain) | 
| void | setData(LightType type,
       SectionPos pos,
       NibbleArray array) | 
| int | tick(int toUpdateCount,
    boolean updateSkyLight,
    boolean updateBlockLight) | 
| void | updateSectionStatus(SectionPos pos,
                   boolean isEmpty) | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfunc_215567_apublic WorldLightManager(IChunkLightProvider provider, boolean hasBlockLight, boolean hasSkyLight)
public void checkBlock(BlockPos blockPosIn)
public void onBlockEmissionIncrease(BlockPos blockPosIn, int p_215573_2_)
public boolean hasLightWork()
public int tick(int toUpdateCount,
                boolean updateSkyLight,
                boolean updateBlockLight)
public void updateSectionStatus(SectionPos pos, boolean isEmpty)
updateSectionStatus インタフェース内 ILightListenerpublic void enableLightSources(ChunkPos p_215571_1_, boolean p_215571_2_)
public IWorldLightListener getLightEngine(LightType type)
public java.lang.String getDebugInfo(LightType p_215572_1_, SectionPos p_215572_2_)
public void setData(LightType type, SectionPos pos, @Nullable NibbleArray array)
public void retainData(ChunkPos pos, boolean retain)
public int getLightSubtracted(BlockPos blockPosIn, int amount)