Class SteppedInterpolationHandler
java.lang.Object
net.minecraft.world.entity.AbstractInterpolationHandler
net.minecraft.world.entity.SteppedInterpolationHandler
- All Implemented Interfaces:
InterpolationHandler
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static classNested classes/interfaces inherited from interface InterpolationHandler
InterpolationHandler.NoOpInterpolationHandler -
Field Summary
FieldsFields inherited from class AbstractInterpolationHandler
entity, interpolationSteps, lastPositionAndRotationFields inherited from interface InterpolationHandler
NO_OP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()static InterpolationHandlerprotected voidbooleanprotected PositionAndRotation.Mutableprotected voidstartInterpolating(PositionPath position, float yRot, float xRot) Methods inherited from class AbstractInterpolationHandler
applyPredictedMovement, interpolate, interpolateTo, interpolateTo, targetMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface InterpolationHandler
interpolationTracker
-
Field Details
-
interpolationData
-
-
Constructor Details
-
SteppedInterpolationHandler
-
-
Method Details
-
create
-
interpolationData
- Specified by:
interpolationDatain classAbstractInterpolationHandler
-
startInterpolating
- Specified by:
startInterpolatingin classAbstractInterpolationHandler
-
doInterpolate
protected void doInterpolate()- Specified by:
doInterpolatein classAbstractInterpolationHandler
-
hasActiveInterpolation
public boolean hasActiveInterpolation() -
cancel
public void cancel()
-