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
    getLightAt(net.minecraft.core.BlockPos pos)
    Returns the light value at the given position or 0 if none is present.
    default void
    removeLightAt(net.minecraft.core.BlockPos pos)
    Remove the light value at the given position
    void
    setLightAt(net.minecraft.core.BlockPos pos, int value)
    Set the light value at the given position to the given value
  • Method Details

    • setLightAt

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

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

      int getLightAt(net.minecraft.core.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