Class GoalDirection

java.lang.Object
meteordevelopment.meteorclient.utils.world.GoalDirection
All Implemented Interfaces:
baritone.api.pathing.goals.Goal

public class GoalDirection extends Object implements baritone.api.pathing.goals.Goal
  • Constructor Summary

    Constructors
    Constructor
    Description
    GoalDirection(net.minecraft.util.math.Vec3d origin, float yaw)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static double
    calculate(double xDiff, double zDiff)
     
    int
     
    int
     
    double
    heuristic(int x, int y, int z)
     
    boolean
    isInGoal(int x, int y, int z)
     
    void
    recalculate(net.minecraft.util.math.Vec3d origin)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface baritone.api.pathing.goals.Goal

    heuristic, heuristic, isInGoal
  • Constructor Details

    • GoalDirection

      public GoalDirection(net.minecraft.util.math.Vec3d origin, float yaw)
  • Method Details

    • calculate

      public static double calculate(double xDiff, double zDiff)
    • recalculate

      public void recalculate(net.minecraft.util.math.Vec3d origin)
    • isInGoal

      public boolean isInGoal(int x, int y, int z)
      Specified by:
      isInGoal in interface baritone.api.pathing.goals.Goal
    • heuristic

      public double heuristic(int x, int y, int z)
      Specified by:
      heuristic in interface baritone.api.pathing.goals.Goal
    • toString

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

      public int getX()
    • getZ

      public int getZ()