Class VisGraph

java.lang.Object
net.minecraft.client.renderer.chunk.VisGraph

public class VisGraph extends Object
  • Field Details

    • 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 BitSet bitSet
    • INDEX_OF_EDGES

      private static final int[] INDEX_OF_EDGES
    • empty

      private int empty
  • Constructor Details

    • VisGraph

      public VisGraph()
  • Method Details

    • 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 Set<Direction> floodFill(int p_178604_1_)
    • addEdges

      private void addEdges(int p_178610_1_, Set<Direction> p_178610_2_)
    • getNeighborIndexAtFace

      private int getNeighborIndexAtFace(int p_178603_1_, Direction p_178603_2_)