Class InputOverrideHandler

java.lang.Object
com.zenith.feature.pathfinder.behavior.Behavior
com.zenith.feature.pathfinder.InputOverrideHandler

public class InputOverrideHandler extends Behavior
  • Field Details

    • currentInput

      public @Nullable Input currentInput
  • Constructor Details

    • InputOverrideHandler

      public InputOverrideHandler(Baritone baritone)
  • Method Details

    • isInputForcedDown

      public final boolean isInputForcedDown(PathInput input)
      Returns whether or not we are forcing down the specified Input.
      Parameters:
      input - The input
      Returns:
      Whether or not it is being forced down
    • setInputForceState

      public final void setInputForceState(PathInput input, boolean forced)
      Sets whether or not the specified Input is being forced down.
      Parameters:
      input - The Input
      forced - Whether or not the state is being forced
    • setClickTarget

      public final void setClickTarget(@Nullable BlockPos pos)
    • clearAllKeys

      public final void clearAllKeys()
      Clears the override state for all keys
    • onTick

      public final void onTick()