Class VisGraph


  • public class VisGraph
    extends java.lang.Object
    • 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
    • Constructor Detail

      • VisGraph

        public VisGraph()
    • 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_)
      • 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_)