Interface AuxiliaryLightManager
- All Known Implementing Classes:
LevelChunkAuxiliaryLightManager
public interface AuxiliaryLightManager
Manager for light values controlled by dynamic data in
BlockEntitys.-
Method Summary
Modifier and TypeMethodDescriptionintgetLightAt(BlockPos pos) Returns the light value at the given position or 0 if none is present.default voidremoveLightAt(BlockPos pos) Remove the light value at the given positionvoidsetLightAt(BlockPos pos, int value) Set the light value at the given position to the given value
-
Method Details
-
setLightAt
Set the light value at the given position to the given value -
removeLightAt
Remove the light value at the given position -
getLightAt
Returns the light value at the given position or 0 if none is present.- Returns:
- the light value at the given position or 0 if none is present
-