Class LayerLightSectionStorage.SectionState
java.lang.Object
net.minecraft.world.level.lighting.LayerLightSectionStorage.SectionState
- Enclosing class:
LayerLightSectionStorage<M extends DataLayerStorageMap<M>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final byte
private static final byte
private static final int
private static final int
private static final byte
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
hasData
(byte p_285105_) static byte
hasData
(byte p_284954_, boolean p_285420_) static int
neighborCount
(byte p_285437_) static byte
neighborCount
(byte p_285516_, int p_285426_) type
(byte p_285064_)
-
Field Details
-
EMPTY
public static final byte EMPTY- See Also:
-
MIN_NEIGHBORS
private static final int MIN_NEIGHBORS- See Also:
-
MAX_NEIGHBORS
private static final int MAX_NEIGHBORS- See Also:
-
HAS_DATA_BIT
private static final byte HAS_DATA_BIT- See Also:
-
NEIGHBOR_COUNT_BITS
private static final byte NEIGHBOR_COUNT_BITS- See Also:
-
-
Constructor Details
-
SectionState
protected SectionState()
-
-
Method Details
-
hasData
public static byte hasData(byte p_284954_, boolean p_285420_) -
neighborCount
public static byte neighborCount(byte p_285516_, int p_285426_) -
hasData
public static boolean hasData(byte p_285105_) -
neighborCount
public static int neighborCount(byte p_285437_) -
type
-