public class WorldLightManager extends java.lang.Object implements ILightListener
Constructor and Description |
---|
WorldLightManager(IChunkLightProvider p_i51290_1_,
boolean p_i51290_2_,
boolean p_i51290_3_) |
Modifier and Type | Method and Description |
---|---|
void |
checkBlock(BlockPos p_215568_1_) |
boolean |
func_215570_a() |
void |
func_215571_a(ChunkPos p_215571_1_,
boolean p_215571_2_) |
java.lang.String |
func_215572_a(LightType p_215572_1_,
SectionPos p_215572_2_) |
void |
func_215573_a(BlockPos p_215573_1_,
int p_215573_2_) |
IWorldLightListener |
getLightEngine(LightType type) |
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, wait
func_215567_a
public WorldLightManager(IChunkLightProvider p_i51290_1_, boolean p_i51290_2_, boolean p_i51290_3_)
public void checkBlock(BlockPos p_215568_1_)
public void func_215573_a(BlockPos p_215573_1_, int p_215573_2_)
public boolean func_215570_a()
public int tick(int toUpdateCount, boolean updateSkyLight, boolean updateBlockLight)
public void updateSectionStatus(SectionPos pos, boolean isEmpty)
updateSectionStatus
in interface ILightListener
public void func_215571_a(ChunkPos p_215571_1_, boolean p_215571_2_)
public IWorldLightListener getLightEngine(LightType type)
public java.lang.String func_215572_a(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)