Class VisGraph
- java.lang.Object
-
- net.minecraft.client.renderer.chunk.VisGraph
-
public class VisGraph extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.BitSet
bitSet
private static Direction[]
DIRECTIONS
private static int
DX
private static int
DY
private static int
DZ
private int
empty
private static int[]
INDEX_OF_EDGES
-
Constructor Summary
Constructors Constructor Description VisGraph()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
addEdges(int p_178610_1_, java.util.Set<Direction> p_178610_2_)
private java.util.Set<Direction>
floodFill(int p_178604_1_)
private static int
getIndex(int p_178605_0_, int p_178605_1_, int p_178605_2_)
private static int
getIndex(BlockPos p_178608_0_)
private int
getNeighborIndexAtFace(int p_178603_1_, Direction p_178603_2_)
SetVisibility
resolve()
void
setOpaque(BlockPos p_178606_1_)
-
-
-
Field Detail
-
DX
private static final int DX
-
DZ
private static final int DZ
-
DY
private static final int DY
-
DIRECTIONS
private static final Direction[] DIRECTIONS
-
bitSet
private final java.util.BitSet bitSet
-
INDEX_OF_EDGES
private static final int[] INDEX_OF_EDGES
-
empty
private int empty
-
-
Method Detail
-
setOpaque
public void setOpaque(BlockPos p_178606_1_)
-
getIndex
private static int getIndex(BlockPos p_178608_0_)
-
getIndex
private static int getIndex(int p_178605_0_, int p_178605_1_, int p_178605_2_)
-
resolve
public SetVisibility resolve()
-
floodFill
private java.util.Set<Direction> floodFill(int p_178604_1_)
-
addEdges
private void addEdges(int p_178610_1_, java.util.Set<Direction> p_178610_2_)
-
getNeighborIndexAtFace
private int getNeighborIndexAtFace(int p_178603_1_, Direction p_178603_2_)
-
-