Interface AuxiliaryLightManager

All Known Implementing Classes:
LevelChunkAuxiliaryLightManager

public interface AuxiliaryLightManager
Manager for light values controlled by dynamic data in BlockEntitys.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns 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
  • Method Details

    • 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)
      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