Class PathNode

java.lang.Object
ru.dragonestia.msb3.api.ai.navigator.PathNode

public class PathNode extends Object
  • Constructor Details

    • PathNode

      public PathNode(double px, double py, double pz, double g, double h, @Nullable @Nullable PathNode parent)
    • PathNode

      public PathNode(double px, double py, double pz, double g, double h, PathNode.Type type, @Nullable @Nullable PathNode parent)
    • PathNode

      public PathNode(net.minestom.server.coordinate.Point point, double g, double h, PathNode.Type walk, @Nullable @Nullable PathNode parent)
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • x

      public double x()
    • y

      public double y()
    • z

      public double z()
    • blockX

      public int blockX()
    • blockY

      public int blockY()
    • blockZ

      public int blockZ()
    • g

      public double g()
    • h

      public double h()
    • setPoint

      public void setPoint(double px, double py, double pz)
    • parent

      @Nullable public @Nullable PathNode parent()
    • setParent

      public void setParent(@Nullable @Nullable PathNode current)