Package baritone.api.behavior.look
Interface IAimProcessor
- All Known Subinterfaces:
ITickableAimProcessor
public interface IAimProcessor
- Author:
- Brady
-
Method Summary
Modifier and TypeMethodDescriptionfork()Returns a copy of thisIAimProcessorwhich has its own internal state and is manually tickable.peekRotation(Rotation desired) Returns the actual rotation that will be used when the desired rotation is requested.
-
Method Details
-
peekRotation
Returns the actual rotation that will be used when the desired rotation is requested. The returned rotation always reflects what would happen in the upcoming tick. In other words, it is a pure function, and no internal state changes. If simulation of the rotation states beyond the next tick is required, then aforkshould be created.- Parameters:
desired- The desired rotation to set- Returns:
- The actual rotation
-
fork
Returns a copy of thisIAimProcessorwhich has its own internal state and is manually tickable.- Returns:
- The forked processor
- See Also:
-