Package baritone.api.process
Interface IFollowProcess
- All Superinterfaces:
IBaritoneProcess
- Since:
- 9/23/2018
- Author:
- Brady
-
Field Summary
Fields inherited from interface baritone.api.process.IBaritoneProcess
DEFAULT_PRIORITY -
Method Summary
Modifier and TypeMethodDescriptiondefault voidcancel()Cancels the follow behavior, this will clear the current follow target.Predicate<net.minecraft.world.entity.Entity> voidSet the follow target to any entities matching this predicateList<net.minecraft.world.entity.Entity> voidTry to pick up any items matching this predicateMethods inherited from interface baritone.api.process.IBaritoneProcess
displayName, displayName0, isActive, isTemporary, onLostControl, onTick, priority
-
Method Details
-
follow
Set the follow target to any entities matching this predicate- Parameters:
filter- the predicate
-
pickup
Try to pick up any items matching this predicate- Parameters:
filter- the predicate
-
following
- Returns:
- The entities that are currently being followed. null if not currently following, empty if nothing matches the predicate
-
currentFilter
Predicate<net.minecraft.world.entity.Entity> currentFilter() -
cancel
Cancels the follow behavior, this will clear the current follow target.
-