Interface IForgeBlockAndTintGetter

All Known Subinterfaces:
BlockAndTintGetter, CommonLevelAccessor, LevelAccessor, LevelReader, LevelTimeAccess, ServerLevelAccessor, WorldGenLevel
All Known Implementing Classes:
ClientLevel, Level, RenderChunkRegion, ServerLevel, WorldGenRegion

public interface IForgeBlockAndTintGetter
Extension interface for BlockAndTintGetter.
  • Method Summary

    Modifier and Type
    Method
    Description
    default float
    getShade(float normalX, float normalY, float normalZ, boolean shade)
    Computes the shade for a given normal.
     
  • Method Details

    • self

      private BlockAndTintGetter self()
    • getShade

      default float getShade(float normalX, float normalY, float normalZ, boolean shade)
      Computes the shade for a given normal. Alternate version of the vanilla method taking in a Direction.