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
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final longprivate static final longprivate static final longprivate static final intprivate static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic longdecreaseAllDirections(int p_285144_) static longdecreaseSkipOneDirection(int p_285429_, Direction p_285207_) static intgetFromLevel(long p_285483_) static longincreaseLightFromEmission(int p_285199_, boolean p_284986_) static longincreaseOnlyOneDirection(int p_285025_, boolean p_285384_, Direction p_285072_) static longincreaseSkipOneDirection(int p_285091_, boolean p_285186_, Direction p_285382_) static longincreaseSkySourceInDirections(boolean p_285487_, boolean p_285390_, boolean p_285476_, boolean p_285505_, boolean p_285127_) static booleanisFromEmptyShape(long p_285436_) static booleanisIncreaseFromEmission(long p_285348_) static booleanshouldPropagateInDirection(long p_285347_, Direction p_285291_) private static longwithDirection(long p_285295_, Direction p_285016_) private static longwithLevel(long p_285234_, int p_285042_) private static longwithoutDirection(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
-