Class Baritone
java.lang.Object
com.zenith.feature.pathfinder.Baritone
- All Implemented Interfaces:
Pathfinder
todo:
doors, fences, and gates opening interactions
interface for dispatching pathing commands with configurations
i.e. disallow block breaking for certain goals, allow long distance falling, etc
Rethink the baritone "Process" system. is there a better abstraction for multi-step goals?
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbreakBlock(int x, int y, int z, boolean autoTool) protected boolean@Nullable Goalbooleanfollow(EntityLiving target) follow(Predicate<EntityLiving> entityPredicate) static com.google.common.util.concurrent.ListeningExecutorServiceinthashCode()booleanisActive()booleanisGoalActive(@NonNull Goal goal) leftClickBlock(int x, int y, int z) leftClickEntity(EntityLiving entity) voidpathTo(int x, int z) pathTo(int x, int y, int z) pickup()placeBlock(int x, int y, int z, ItemData placeItem) API may change or be removed in future updatesrightClickBlock(int x, int y, int z) rightClickEntity(EntityLiving entity) voidstop()thisWay(int dist) toString()
-
Field Details
-
POST_TICK_PRIORITY
public static final int POST_TICK_PRIORITY- See Also:
-
MOVEMENT_PRIORITY
public static final int MOVEMENT_PRIORITY- See Also:
-
-
Constructor Details
-
Baritone
public Baritone()
-
-
Method Details
-
isActive
public boolean isActive()- Specified by:
isActivein interfacePathfinder
-
isGoalActive
-
pathTo
- Specified by:
pathToin interfacePathfinder
-
pathTo
- Specified by:
pathToin interfacePathfinder
-
pathTo
- Specified by:
pathToin interfacePathfinder
-
thisWay
- Specified by:
thisWayin interfacePathfinder
-
getTo
- Specified by:
getToin interfacePathfinder
-
mine
- Specified by:
minein interfacePathfinder
-
follow
- Specified by:
followin interfacePathfinder
-
follow
- Specified by:
followin interfacePathfinder
-
pickup
- Specified by:
pickupin interfacePathfinder
-
pickup
- Specified by:
pickupin interfacePathfinder
-
leftClickBlock
- Specified by:
leftClickBlockin interfacePathfinder
-
rightClickBlock
- Specified by:
rightClickBlockin interfacePathfinder
-
breakBlock
- Specified by:
breakBlockin interfacePathfinder
-
placeBlock
API may change or be removed in future updates- Specified by:
placeBlockin interfacePathfinder
-
leftClickEntity
- Specified by:
leftClickEntityin interfacePathfinder
-
rightClickEntity
- Specified by:
rightClickEntityin interfacePathfinder
-
clearArea
- Specified by:
clearAreain interfacePathfinder
-
stop
public void stop()- Specified by:
stopin interfacePathfinder
-
currentGoal
- Specified by:
currentGoalin interfacePathfinder
-
onPlayerPosRotate
public void onPlayerPosRotate() -
getPathingBehavior
-
getInputOverrideHandler
-
getLookBehavior
-
getInventoryBehavior
-
getPlayerContext
-
getPathingControlManager
-
getCustomGoalProcess
-
getFollowProcess
-
getGetToBlockProcess
-
getMineProcess
-
getInteractWithProcess
-
getClearAreaProcess
-
getTeleportDelayTimer
-
getIngamePathRenderer
-
equals
-
canEqual
-
hashCode
-
toString
-
getExecutor
public static com.google.common.util.concurrent.ListeningExecutorService getExecutor()
-