@ParametersAreNonnullByDefault
@MethodsReturnNonnullByDefault
public interface ILightingManager
| 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) |
default void |
doOnBlockSetLightUpdates(net.minecraft.world.chunk.Chunk column,
int localX,
int y1,
int y2,
int localZ) |
java.lang.String |
getId() |
boolean |
hasPendingLightUpdates(ICube cube) |
void |
onCreateCubeStorage(ICube cube,
net.minecraft.world.chunk.storage.ExtendedBlockStorage storage) |
void |
onCubeLoad(ICube cube) |
default void |
onCubeUnload(ICube cube) |
default void |
onGetLight(net.minecraft.world.EnumSkyBlock type,
net.minecraft.util.math.BlockPos pos) |
default void |
onGetLightSubtracted(net.minecraft.util.math.BlockPos pos) |
void |
onHeightUpdate(net.minecraft.util.math.BlockPos pos) |
default void |
onSendCubes(java.lang.Iterable<? extends ICube> cubes) |
default void |
onTick() |
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) |
default void doOnBlockSetLightUpdates(net.minecraft.world.chunk.Chunk column,
int localX,
int y1,
int y2,
int localZ)
void updateLightBetween(net.minecraft.world.chunk.Chunk column,
int localX,
int y1,
int y2,
int localZ)
default void onSendCubes(java.lang.Iterable<? extends ICube> cubes)
void onCubeLoad(ICube cube)
default void onCubeUnload(ICube cube)
default void onGetLight(net.minecraft.world.EnumSkyBlock type,
net.minecraft.util.math.BlockPos pos)
default void onGetLightSubtracted(net.minecraft.util.math.BlockPos pos)
void onCreateCubeStorage(ICube cube, net.minecraft.world.chunk.storage.ExtendedBlockStorage storage)
default void onTick()
boolean checkLightFor(net.minecraft.world.EnumSkyBlock lightType,
net.minecraft.util.math.BlockPos pos)
void processUpdates()
void processUpdatesOnAccess()
java.lang.String getId()
void writeToNbt(ICube cube, net.minecraft.nbt.NBTTagCompound lightingInfo)
void readFromNbt(ICube cube, net.minecraft.nbt.NBTTagCompound lightingInfo)
Cube.ICubeLightTrackingInfo createLightData(ICube cube)
boolean hasPendingLightUpdates(ICube cube)
void onHeightUpdate(net.minecraft.util.math.BlockPos pos)
void onTrackCubeSurface(ICube cube)
void doFirstLight(ICube cube)