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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbreakBlock(int x, int y, int z, boolean autoTool) @Nullable Goalfollow(EntityLiving target) follow(Predicate<EntityLiving> entityPredicate) 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()rightClickBlock(int x, int y, int z) rightClickEntity(EntityLiving entity) voidstop()thisWay(int dist)
-
Field Details
-
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
-
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()
-