接口 AuxiliaryLightManager
- 所有已知实现类:
LevelChunkAuxiliaryLightManager
public interface AuxiliaryLightManager
Manager for light values controlled by dynamic data in
BlockEntity
s.-
方法概要
修饰符和类型方法说明int
getLightAt
(BlockPos pos) 返回 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
-
方法详细资料
-
setLightAt
Set the light value at the given position to the given value -
removeLightAt
Remove the light value at the given position -
getLightAt
返回 the light value at the given position or 0 if none is present。- 返回:
- the light value at the given position or 0 if none is present
-