Interface ILookBehavior

All Superinterfaces:
AbstractGameEventListener, IBehavior, IGameEventListener

public interface ILookBehavior extends IBehavior
Since:
9/23/2018
Author:
Brady
  • Method Details

    • updateTarget

      void updateTarget(Rotation rotation, boolean blockInteract)
      Updates the current ILookBehavior target to target the specified rotations on the next tick. If any sort of block interaction is required, blockInteract should be true. It is not guaranteed that the rotations set by the caller will be the exact rotations expressed by the client (This is due to settings like Settings.randomLooking). If the rotations produced by this behavior are required, then the aim processor should be used.
      Parameters:
      rotation - The target rotations
      blockInteract - Whether the target rotations are needed for a block interaction
    • getAimProcessor

      The aim processor instance for this ILookBehavior, which is responsible for applying additional, deterministic transformations to the target rotation set by updateTarget(baritone.api.utils.Rotation, boolean).
      Returns:
      The aim processor
      See Also: