Interface IFollowProcess

All Superinterfaces:
IBaritoneProcess

public interface IFollowProcess extends IBaritoneProcess
Since:
9/23/2018
Author:
Brady
  • Method Details

    • follow

      void follow(Predicate<net.minecraft.world.entity.Entity> filter)
      Set the follow target to any entities matching this predicate
      Parameters:
      filter - the predicate
    • pickup

      void pickup(Predicate<net.minecraft.world.item.ItemStack> filter)
      Try to pick up any items matching this predicate
      Parameters:
      filter - the predicate
    • following

      List<net.minecraft.world.entity.Entity> 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

      default void cancel()
      Cancels the follow behavior, this will clear the current follow target.