Class LightEngine.QueueEntry
java.lang.Object
net.minecraft.world.level.lighting.LightEngine.QueueEntry
- Enclosing class:
LightEngine<M extends DataLayerStorageMap<M>,
S extends LayerLightSectionStorage<M>>
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final long
private static final long
private static final long
private static final int
private static final long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic long
decreaseAllDirections
(int p_285144_) static long
decreaseSkipOneDirection
(int p_285429_, Direction p_285207_) static int
getFromLevel
(long p_285483_) static long
increaseLightFromEmission
(int p_285199_, boolean p_284986_) static long
increaseOnlyOneDirection
(int p_285025_, boolean p_285384_, Direction p_285072_) static long
increaseSkipOneDirection
(int p_285091_, boolean p_285186_, Direction p_285382_) static long
increaseSkySourceInDirections
(boolean p_285487_, boolean p_285390_, boolean p_285476_, boolean p_285505_, boolean p_285127_) static boolean
isFromEmptyShape
(long p_285436_) static boolean
isIncreaseFromEmission
(long p_285348_) static boolean
shouldPropagateInDirection
(long p_285347_, Direction p_285291_) private static long
withDirection
(long p_285295_, Direction p_285016_) private static long
withLevel
(long p_285234_, int p_285042_) private static long
withoutDirection
(long p_285366_, Direction p_285489_)
-
Field Details
-
FROM_LEVEL_BITS
private static final int FROM_LEVEL_BITS- See Also:
-
DIRECTION_BITS
private static final int DIRECTION_BITS- See Also:
-
LEVEL_MASK
private static final long LEVEL_MASK- See Also:
-
DIRECTIONS_MASK
private static final long DIRECTIONS_MASK- See Also:
-
FLAG_FROM_EMPTY_SHAPE
private static final long FLAG_FROM_EMPTY_SHAPE- See Also:
-
FLAG_INCREASE_FROM_EMISSION
private static final long FLAG_INCREASE_FROM_EMISSION- See Also:
-
-
Constructor Details
-
QueueEntry
public QueueEntry()
-
-
Method Details
-
decreaseSkipOneDirection
-
decreaseAllDirections
public static long decreaseAllDirections(int p_285144_) -
increaseLightFromEmission
public static long increaseLightFromEmission(int p_285199_, boolean p_284986_) -
increaseSkipOneDirection
-
increaseOnlyOneDirection
-
increaseSkySourceInDirections
public static long increaseSkySourceInDirections(boolean p_285487_, boolean p_285390_, boolean p_285476_, boolean p_285505_, boolean p_285127_) -
getFromLevel
public static int getFromLevel(long p_285483_) -
isFromEmptyShape
public static boolean isFromEmptyShape(long p_285436_) -
isIncreaseFromEmission
public static boolean isIncreaseFromEmission(long p_285348_) -
shouldPropagateInDirection
-
withLevel
private static long withLevel(long p_285234_, int p_285042_) -
withDirection
-
withoutDirection
-