Interface AuxiliaryLightManager
- All Known Implementing Classes:
LevelChunkAuxiliaryLightManager
public interface AuxiliaryLightManager
Manager for light values controlled by dynamic data in
BlockEntity
s.-
Method Summary
Modifier and TypeMethodDescriptionint
getLightAt
(BlockPos pos) Returns the light value at the given position or 0 if none is present.default void
removeLightAt
(BlockPos pos) Remove the light value at the given positionvoid
setLightAt
(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
-