Package baritone.api.process
Interface ICustomGoalProcess
- All Superinterfaces:
IBaritoneProcess
-
Field Summary
Fields inherited from interface baritone.api.process.IBaritoneProcess
DEFAULT_PRIORITY -
Method Summary
Modifier and TypeMethodDescriptiongetGoal()voidpath()Starts path calculation and execution.voidSets the pathing goaldefault voidsetGoalAndPath(Goal goal) Sets the goal and begins the path execution.Methods inherited from interface baritone.api.process.IBaritoneProcess
displayName, displayName0, isActive, isTemporary, onLostControl, onTick, priority
-
Method Details
-
setGoal
Sets the pathing goal- Parameters:
goal- The new goal
-
path
void path()Starts path calculation and execution. -
getGoal
- Returns:
- The current goal
-
mostRecentGoal
- Returns:
- The most recent set goal, which doesn't invalidate upon
IBaritoneProcess.onLostControl()
-
setGoalAndPath
Sets the goal and begins the path execution.- Parameters:
goal- The new goal
-