mirror of
https://github.com/cabaletta/baritone
synced 2025-01-18 05:02:14 +00:00
More javadocs
This commit is contained in:
parent
472e89239c
commit
fdee1b9453
@ -20,7 +20,9 @@ package baritone.api.process;
|
|||||||
import baritone.api.pathing.goals.Goal;
|
import baritone.api.pathing.goals.Goal;
|
||||||
|
|
||||||
public class PathingCommand {
|
public class PathingCommand {
|
||||||
|
|
||||||
public final Goal goal;
|
public final Goal goal;
|
||||||
|
|
||||||
public final PathingCommandType commandType;
|
public final PathingCommandType commandType;
|
||||||
|
|
||||||
public PathingCommand(Goal goal, PathingCommandType commandType) {
|
public PathingCommand(Goal goal, PathingCommandType commandType) {
|
||||||
|
@ -17,11 +17,14 @@
|
|||||||
|
|
||||||
package baritone.api.process;
|
package baritone.api.process;
|
||||||
|
|
||||||
|
import baritone.api.Settings;
|
||||||
|
|
||||||
public enum PathingCommandType {
|
public enum PathingCommandType {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the goal and path.
|
* Set the goal and path.
|
||||||
* <p>
|
* <p>
|
||||||
* If you use this alongside a null goal, it will continue along its current path and current goal.
|
* If you use this alongside a {@code null} goal, it will continue along its current path and current goal.
|
||||||
*/
|
*/
|
||||||
SET_GOAL_AND_PATH,
|
SET_GOAL_AND_PATH,
|
||||||
|
|
||||||
@ -31,21 +34,22 @@ public enum PathingCommandType {
|
|||||||
REQUEST_PAUSE,
|
REQUEST_PAUSE,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the goal (regardless of null), and request a cancel of the current path (when safe)
|
* Set the goal (regardless of {@code null}), and request a cancel of the current path (when safe)
|
||||||
*/
|
*/
|
||||||
CANCEL_AND_SET_GOAL,
|
CANCEL_AND_SET_GOAL,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the goal and path.
|
* Set the goal and path.
|
||||||
* <p>
|
* <p>
|
||||||
* If cancelOnGoalInvalidation is true, revalidate the current goal, and cancel if it's no longer valid, or if the new goal is null.
|
* If {@link Settings#cancelOnGoalInvalidation} is {@code true}, revalidate the
|
||||||
|
* current goal, and cancel if it's no longer valid, or if the new goal is {@code null}.
|
||||||
*/
|
*/
|
||||||
REVALIDATE_GOAL_AND_PATH,
|
REVALIDATE_GOAL_AND_PATH,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the goal and path.
|
* Set the goal and path.
|
||||||
* <p>
|
* <p>
|
||||||
* Revalidate the current goal, and cancel if it's no longer valid, or if the new goal is null.
|
* Revalidate the current goal, and cancel if it's no longer valid, or if the new goal is {@code null}.
|
||||||
*/
|
*/
|
||||||
FORCE_REVALIDATE_GOAL_AND_PATH,
|
FORCE_REVALIDATE_GOAL_AND_PATH
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user