Interface IBlockAndTintGetterExtension
- All Known Subinterfaces:
BlockAndTintGetter, CommonLevelAccessor, LevelAccessor, LevelReader, ServerLevelAccessor, WorldGenLevel
- All Known Implementing Classes:
BlockBreakingRenderState, ClientLevel, EmptyBlockAndTintGetter, Level, MovingBlockRenderState, RenderSectionRegion, ServerLevel, WorldGenRegion
public interface IBlockAndTintGetterExtension
Extension interface for
BlockAndTintGetter.-
Method Summary
Modifier and TypeMethodDescriptiondefault floatgetShade(float normalX, float normalY, float normalZ, boolean shade) Computes the shade for a given normal.private BlockAndTintGetterself()
-
Method Details
-
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 aDirection.
-