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