Package baritone.api.pathing.goals
Class GoalBlock
java.lang.Object
baritone.api.pathing.goals.GoalBlock
- All Implemented Interfaces:
Goal,IGoalRenderPos
A specific BlockPos goal
- Author:
- leijurv
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic doublecalculate(double xDiff, int yDiff, double zDiff) booleannet.minecraft.core.BlockPosinthashCode()doubleheuristic(int x, int y, int z) Estimate the number of ticks it will take to get to the goalbooleanisInGoal(int x, int y, int z) Returns whether or not the specified position meets the requirement for this goal based.toString()
-
Field Details
-
x
The X block position of this goal -
y
The Y block position of this goal -
z
The Z block position of this goal
-
-
Constructor Details
-
GoalBlock
-
GoalBlock
-
-
Method Details
-
isInGoal
Description copied from interface:GoalReturns whether or not the specified position meets the requirement for this goal based. -
heuristic
Description copied from interface:GoalEstimate the number of ticks it will take to get to the goal -
equals
-
hashCode
-
toString
-
getGoalPos
- Specified by:
getGoalPosin interfaceIGoalRenderPos- Returns:
- The position of this goal as a
BlockPos
-
calculate
-