接口 IForgeBlockAndTintGetter

所有已知子接口:
BlockAndTintGetter, CommonLevelAccessor, LevelAccessor, LevelReader, LevelTimeAccess, ServerLevelAccessor, WorldGenLevel
所有已知实现类:
ClientLevel, EmptyBlockAndTintGetter, FallingBlockRenderState, Level, RenderChunkRegion, ServerLevel, WorldGenRegion

public interface IForgeBlockAndTintGetter
Extension interface for BlockAndTintGetter.
  • 方法概要

    修饰符和类型
    方法
    说明
    default float
    getShade(float normalX, float normalY, float normalZ, boolean shade)
    Computes the shade for a given normal.
     
  • 方法详细资料

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