Class BaritoneProcessHelper

java.lang.Object
com.zenith.feature.pathfinder.process.BaritoneProcessHelper
All Implemented Interfaces:
IBaritoneProcess, ProcessUtil
Direct Known Subclasses:
ClearAreaProcess, CustomGoalProcess, ElytraProcess, FollowProcess, GetToBlockProcess, InteractWithProcess, MineProcess

public abstract class BaritoneProcessHelper extends Object implements IBaritoneProcess, ProcessUtil
  • Field Details

  • Constructor Details

    • BaritoneProcessHelper

      public BaritoneProcessHelper(Baritone baritone)
  • Method Details

    • isTemporary

      public boolean isTemporary()
      Description copied from interface: IBaritoneProcess
      Returns whether or not this process should be treated as "temporary".

      If a process is temporary, it doesn't call IBaritoneProcess.onLostControl() on the processes that aren't execute because of it.

      For example, CombatPauserProcess and PauseForAutoEatProcess should return true always, and should return IBaritoneProcess.isActive() true only if there's something in range this tick, or if the player would like to start eating this tick. PauseForAutoEatProcess should only actually right click once onTick is called with isSafeToCancel true though.

      Specified by:
      isTemporary in interface IBaritoneProcess
      Returns:
      Whether or not if this control is temporary
    • stop

      public void stop()
      Specified by:
      stop in interface IBaritoneProcess