Interface InterpolationHandler
- All Known Implementing Classes:
AbstractInterpolationHandler, InterpolationHandler.NoOpInterpolationHandler, LinearInterpolationHandler, SteppedInterpolationHandler, SteppedInterpolationTracker
public interface InterpolationHandler
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyPredictedMovement(Vec3 delta) voidcancel()booleanvoidbooleaninterpolateTo(@Nullable PositionPath position, float yRot, float xRot, boolean hasRotation) default InterpolationTrackertarget()
-
Field Details
-
NO_OP
-
-
Method Details
-
interpolationTracker
-
target
@Nullable PositionAndRotation target() -
interpolateTo
-
interpolate
void interpolate() -
applyPredictedMovement
-
hasActiveInterpolation
boolean hasActiveInterpolation() -
cancel
void cancel()
-