public class VisGraph
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.BitSet |
bitSet |
private static int |
DX |
private static int |
DY |
private static int |
DZ |
private int |
empty |
private static int[] |
INDEX_OF_EDGES |
Constructor and Description |
---|
VisGraph() |
Modifier and Type | Method and Description |
---|---|
private void |
addEdges(int pos,
java.util.Set<EnumFacing> p_178610_2_) |
SetVisibility |
computeVisibility() |
private java.util.Set<EnumFacing> |
floodFill(int pos) |
private static int |
getIndex(BlockPos pos) |
private static int |
getIndex(int x,
int y,
int z) |
private int |
getNeighborIndexAtFace(int pos,
EnumFacing facing) |
java.util.Set<EnumFacing> |
getVisibleFacings(BlockPos pos) |
void |
setOpaqueCube(BlockPos pos) |
private static final int DX
private static final int DZ
private static final int DY
private final java.util.BitSet bitSet
private static final int[] INDEX_OF_EDGES
private int empty
public void setOpaqueCube(BlockPos pos)
private static int getIndex(BlockPos pos)
private static int getIndex(int x, int y, int z)
public SetVisibility computeVisibility()
public java.util.Set<EnumFacing> getVisibleFacings(BlockPos pos)
private java.util.Set<EnumFacing> floodFill(int pos)
private void addEdges(int pos, java.util.Set<EnumFacing> p_178610_2_)
private int getNeighborIndexAtFace(int pos, EnumFacing facing)