Class VisGraph
java.lang.Object
net.minecraft.client.renderer.chunk.VisGraph
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BitSet
private static final Direction[]
private static final int
private static final int
private static final int
private int
private static final int[]
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
floodFill
(int p_112960_) private static int
getIndex
(int p_112962_, int p_112963_, int p_112964_) private static int
private int
getNeighborIndexAtFace
(int p_112966_, Direction p_112967_) resolve()
void
-
Field Details
-
SIZE_IN_BITS
private static final int SIZE_IN_BITS- See Also:
-
LEN
private static final int LEN- See Also:
-
MASK
private static final int MASK- See Also:
-
SIZE
private static final int SIZE- See Also:
-
X_SHIFT
private static final int X_SHIFT- See Also:
-
Z_SHIFT
private static final int Z_SHIFT- See Also:
-
Y_SHIFT
private static final int Y_SHIFT- See Also:
-
DX
private static final int DX -
DZ
private static final int DZ -
DY
private static final int DY -
INVALID_INDEX
private static final int INVALID_INDEX- See Also:
-
DIRECTIONS
-
bitSet
-
INDEX_OF_EDGES
private static final int[] INDEX_OF_EDGES -
empty
private int empty
-
-
Constructor Details
-
VisGraph
public VisGraph()
-
-
Method Details
-
setOpaque
-
getIndex
-
getIndex
private static int getIndex(int p_112962_, int p_112963_, int p_112964_) -
resolve
-
floodFill
-
addEdges
-
getNeighborIndexAtFace
-