Class PathMinHeap

java.lang.Object
net.minecraft.entity.ai.pathing.PathMinHeap

public class PathMinHeap
extends Object
  • Field Details

    • pathNodes

      private PathNode[] pathNodes
    • count

      private int count
  • Constructor Details

    • PathMinHeap

      public PathMinHeap()
  • Method Details

    • push

      public PathNode push​(PathNode node)
    • clear

      public void clear()
    • pop

      public PathNode pop()
    • setNodeWeight

      public void setNodeWeight​(PathNode node, float weight)
    • shiftUp

      private void shiftUp​(int index)
    • shiftDown

      private void shiftDown​(int index)
    • isEmpty

      public boolean isEmpty()