Class GoalDirection
java.lang.Object
meteordevelopment.meteorclient.utils.world.GoalDirection
- All Implemented Interfaces:
baritone.api.pathing.goals.Goal
-
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:
isInGoalin interfacebaritone.api.pathing.goals.Goal
-
heuristic
public double heuristic(int x, int y, int z) - Specified by:
heuristicin interfacebaritone.api.pathing.goals.Goal
-
toString
-
getX
public int getX() -
getZ
public int getZ()
-