接口 IBlockAndTintGetterExtension
- 所有已知子接口:
BlockAndTintGetter
,CommonLevelAccessor
,LevelAccessor
,LevelReader
,LevelTimeAccess
,ServerLevelAccessor
,WorldGenLevel
- 所有已知实现类:
EmptyBlockAndTintGetter
,Level
,ServerLevel
,WorldGenRegion
public interface IBlockAndTintGetterExtension
Extension interface for
BlockAndTintGetter
.-
方法概要
修饰符和类型方法说明default float
getShade
(float normalX, float normalY, float normalZ, boolean shade) Computes the shade for a given normal.private BlockAndTintGetter
self()
-
方法详细资料
-
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
.
-