Class InterpolationHandler.NoOpInterpolationHandler
java.lang.Object
net.minecraft.world.entity.InterpolationHandler.NoOpInterpolationHandler
- All Implemented Interfaces:
InterpolationHandler
- Direct Known Subclasses:
SteppedInterpolationTracker
- Enclosing interface:
InterpolationHandler
public static class InterpolationHandler.NoOpInterpolationHandler
extends Object
implements InterpolationHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface InterpolationHandler
InterpolationHandler.NoOpInterpolationHandler -
Field Summary
Fields inherited from interface InterpolationHandler
NO_OP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyPredictedMovement(Vec3 delta) voidcancel()booleanvoidbooleaninterpolateTo(@Nullable PositionPath position, float yRot, float xRot, boolean hasRotation) target()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface InterpolationHandler
interpolationTracker
-
Constructor Details
-
NoOpInterpolationHandler
public NoOpInterpolationHandler()
-
-
Method Details
-
target
- Specified by:
targetin interfaceInterpolationHandler
-
interpolateTo
public boolean interpolateTo(@Nullable PositionPath position, float yRot, float xRot, boolean hasRotation) - Specified by:
interpolateToin interfaceInterpolationHandler
-
interpolate
public void interpolate()- Specified by:
interpolatein interfaceInterpolationHandler
-
applyPredictedMovement
- Specified by:
applyPredictedMovementin interfaceInterpolationHandler
-
hasActiveInterpolation
public boolean hasActiveInterpolation()- Specified by:
hasActiveInterpolationin interfaceInterpolationHandler
-
cancel
public void cancel()- Specified by:
cancelin interfaceInterpolationHandler
-