类 FlatQuadLighter
java.lang.Object
net.minecraftforge.client.model.lighting.QuadLighter
net.minecraftforge.client.model.lighting.FlatQuadLighter
Implementation of
QuadLighter
that lights quads
with flat lighting.-
字段概要
字段修饰符和类型字段说明private boolean
private static final byte
private static final float
private final int[]
private static final Direction[]
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected float
calculateBrightness
(float[] position) protected int
calculateLightmap
(float[] position, byte[] normal) protected void
computeLightingAt
(BlockAndTintGetter level, BlockPos pos, BlockState state) 从类继承的方法 net.minecraftforge.client.model.lighting.QuadLighter
calculateShade, process, reset, setup
-
字段详细资料
-
SIDES
-
MAX_POSITION
private static final float MAX_POSITION- 另请参阅:
-
MAX_NORMAL
private static final byte MAX_NORMAL- 另请参阅:
-
isFullCube
private boolean isFullCube -
packedLight
private final int[] packedLight
-
-
构造器详细资料
-
FlatQuadLighter
-
-
方法详细资料
-
computeLightingAt
- 指定者:
computeLightingAt
在类中QuadLighter
-
calculateBrightness
protected float calculateBrightness(float[] position) - 指定者:
calculateBrightness
在类中QuadLighter
-
calculateLightmap
protected int calculateLightmap(float[] position, byte[] normal) - 指定者:
calculateLightmap
在类中QuadLighter
-