@MethodsReturnNonnullByDefault @ParametersAreNonnullByDefault public class LightingManager extends java.lang.Object implements ILightingManager
| Modifier and Type | Class and Description |
|---|---|
static class |
LightingManager.CubeLightData |
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_CLIENT_LIGHT_SCAN_DEPTH |
| Constructor and Description |
|---|
LightingManager(net.minecraft.world.World world) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkLightFor(net.minecraft.world.EnumSkyBlock lightType,
net.minecraft.util.math.BlockPos pos) |
Cube.ICubeLightTrackingInfo |
createLightData(ICube cube) |
void |
doFirstLight(ICube cube) |
java.lang.String |
getId() |
boolean |
hasPendingLightUpdates(ICube cube) |
void |
onCreateCubeStorage(ICube cube,
net.minecraft.world.chunk.storage.ExtendedBlockStorage storage) |
void |
onCubeLoad(ICube cube) |
void |
onHeightUpdate(net.minecraft.util.math.BlockPos pos) |
void |
onTrackCubeSurface(ICube cube) |
void |
processUpdates() |
void |
processUpdatesOnAccess() |
void |
readFromNbt(ICube cube,
net.minecraft.nbt.NBTTagCompound lightingInfo) |
void |
updateLightBetween(net.minecraft.world.chunk.Chunk column,
int localX,
int y1,
int y2,
int localZ) |
void |
writeToNbt(ICube cube,
net.minecraft.nbt.NBTTagCompound lightingInfo) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoOnBlockSetLightUpdates, onCubeUnload, onGetLight, onGetLightSubtracted, onSendCubes, onTickpublic static final int MAX_CLIENT_LIGHT_SCAN_DEPTH
public void updateLightBetween(net.minecraft.world.chunk.Chunk column,
int localX,
int y1,
int y2,
int localZ)
updateLightBetween in interface ILightingManagerpublic void onCubeLoad(ICube cube)
onCubeLoad in interface ILightingManagerpublic void onCreateCubeStorage(ICube cube, net.minecraft.world.chunk.storage.ExtendedBlockStorage storage)
onCreateCubeStorage in interface ILightingManagerpublic boolean checkLightFor(net.minecraft.world.EnumSkyBlock lightType,
net.minecraft.util.math.BlockPos pos)
checkLightFor in interface ILightingManagerpublic void processUpdates()
processUpdates in interface ILightingManagerpublic void processUpdatesOnAccess()
processUpdatesOnAccess in interface ILightingManagerpublic java.lang.String getId()
getId in interface ILightingManagerpublic void writeToNbt(ICube cube, net.minecraft.nbt.NBTTagCompound lightingInfo)
writeToNbt in interface ILightingManagerpublic void readFromNbt(ICube cube, net.minecraft.nbt.NBTTagCompound lightingInfo)
readFromNbt in interface ILightingManagerpublic Cube.ICubeLightTrackingInfo createLightData(ICube cube)
createLightData in interface ILightingManagerpublic boolean hasPendingLightUpdates(ICube cube)
hasPendingLightUpdates in interface ILightingManagerpublic void onHeightUpdate(net.minecraft.util.math.BlockPos pos)
onHeightUpdate in interface ILightingManagerpublic void onTrackCubeSurface(ICube cube)
onTrackCubeSurface in interface ILightingManagerpublic void doFirstLight(ICube cube)
doFirstLight in interface ILightingManager