接口 AuxiliaryLightManager

所有已知实现类:
LevelChunkAuxiliaryLightManager

public interface AuxiliaryLightManager
Manager for light values controlled by dynamic data in BlockEntitys.
  • 方法概要

    修饰符和类型
    方法
    说明
    int
    返回 the light value at the given position or 0 if none is present。
    default void
    Remove the light value at the given position
    void
    setLightAt(BlockPos pos, int value)
    Set the light value at the given position to the given value
  • 方法详细资料

    • setLightAt

      void setLightAt(BlockPos pos, int value)
      Set the light value at the given position to the given value
    • removeLightAt

      default void removeLightAt(BlockPos pos)
      Remove the light value at the given position
    • getLightAt

      int getLightAt(BlockPos pos)
      返回 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