类 LightEngine.QueueEntry
java.lang.Object
net.minecraft.world.level.lighting.LightEngine.QueueEntry
- 封闭类:
- LightEngine<M extends DataLayerStorageMap<M>,
S extends LayerLightSectionStorage<M>>
-
字段概要
字段修饰符和类型字段说明private static final int
private static final long
private static final long
private static final long
private static final int
private static final long
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static long
decreaseAllDirections
(int pLevel) static long
decreaseSkipOneDirection
(int pLevel, Direction pDirection) static int
getFromLevel
(long pEntry) static long
increaseLightFromEmission
(int pLevel, boolean pFromEmptyShape) static long
increaseOnlyOneDirection
(int pLevel, boolean pFromEmptyShape, Direction pDirection) static long
increaseSkipOneDirection
(int pLevel, boolean pFromEmptyShape, Direction pDirection) static long
increaseSkySourceInDirections
(boolean pDown, boolean pNorth, boolean pSouth, boolean pWest, boolean pEast) static boolean
isFromEmptyShape
(long pEntry) static boolean
isIncreaseFromEmission
(long pEntry) static boolean
shouldPropagateInDirection
(long pEntry, Direction pDirection) private static long
withDirection
(long pEntry, Direction pDirection) private static long
withLevel
(long pEntry, int pLevel) private static long
withoutDirection
(long pEntry, Direction pDirection)
-
字段详细资料
-
FROM_LEVEL_BITS
private static final int FROM_LEVEL_BITS- 另请参阅:
-
DIRECTION_BITS
private static final int DIRECTION_BITS- 另请参阅:
-
LEVEL_MASK
private static final long LEVEL_MASK- 另请参阅:
-
DIRECTIONS_MASK
private static final long DIRECTIONS_MASK- 另请参阅:
-
FLAG_FROM_EMPTY_SHAPE
private static final long FLAG_FROM_EMPTY_SHAPE- 另请参阅:
-
FLAG_INCREASE_FROM_EMISSION
private static final long FLAG_INCREASE_FROM_EMISSION- 另请参阅:
-
-
构造器详细资料
-
QueueEntry
public QueueEntry()
-
-
方法详细资料
-
decreaseSkipOneDirection
-
decreaseAllDirections
public static long decreaseAllDirections(int pLevel) -
increaseLightFromEmission
public static long increaseLightFromEmission(int pLevel, boolean pFromEmptyShape) -
increaseSkipOneDirection
public static long increaseSkipOneDirection(int pLevel, boolean pFromEmptyShape, Direction pDirection) -
increaseOnlyOneDirection
public static long increaseOnlyOneDirection(int pLevel, boolean pFromEmptyShape, Direction pDirection) -
increaseSkySourceInDirections
public static long increaseSkySourceInDirections(boolean pDown, boolean pNorth, boolean pSouth, boolean pWest, boolean pEast) -
getFromLevel
public static int getFromLevel(long pEntry) -
isFromEmptyShape
public static boolean isFromEmptyShape(long pEntry) -
isIncreaseFromEmission
public static boolean isIncreaseFromEmission(long pEntry) -
shouldPropagateInDirection
-
withLevel
private static long withLevel(long pEntry, int pLevel) -
withDirection
-
withoutDirection
-