public class PhosphorLightEngine
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
ENABLE_ILLEGAL_THREAD_ACCESS_WARNINGS |
| Constructor and Description |
|---|
PhosphorLightEngine(net.minecraft.world.World world) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasLightUpdates() |
void |
processLightUpdates()
Calls
processLightUpdatesForType(EnumSkyBlock) for both light types |
void |
processLightUpdatesForType(net.minecraft.world.EnumSkyBlock lightType)
Processes light updates of the given light type
|
void |
scheduleLightUpdate(net.minecraft.world.EnumSkyBlock lightType,
net.minecraft.util.math.BlockPos pos)
Schedules a light update for the specified light type and position to be processed later by
processLightUpdatesForType(EnumSkyBlock) |
public static final boolean ENABLE_ILLEGAL_THREAD_ACCESS_WARNINGS
public void scheduleLightUpdate(net.minecraft.world.EnumSkyBlock lightType,
net.minecraft.util.math.BlockPos pos)
processLightUpdatesForType(EnumSkyBlock)lightType - the type of light to updatepos - the position to updatepublic boolean hasLightUpdates()
public void processLightUpdates()
processLightUpdatesForType(EnumSkyBlock) for both light typespublic void processLightUpdatesForType(net.minecraft.world.EnumSkyBlock lightType)
lightType - light type