net.minecraft.entity.movement

public abstract class PositionInterpolator

net.minecraft.world.entity.InterpolationHandler
net.minecraft.class_10584
net.minecraft.entity.movement.PositionInterpolator

Field summary

Modifier and TypeField
public static final int
DEFAULT_INTERPOLATION_STEPS
field_55663
DEFAULT_INTERPOLATION_DURATION
protected final Entity
entity
field_55664
entity
protected int
interpolationSteps
field_55665
lerpDuration
protected final class_1_1193$Mutable
lastPositionAndRotation
field_1_8594
field_1_8594

Constructor summary

ModifierConstructor
public (Entity entity)
public (Entity entity, int lerpDuration)

Method summary

Modifier and TypeMethod
public MovementTracker
interpolationTracker()
method_1_7891()
getMovementTracker()
protected abstract class_1_1193$Mutable
interpolationData()
method_1_7890()
getDestination()
protected abstract void
startInterpolating(PositionPath position, float yRot, float xRot)
method_1_7893(class_1_1198 arg0, float arg1, float arg2)
setMotionPath(MotionPath motionPath, float yaw, float pitch)
protected abstract void
doInterpolate()
method_1_7888()
tickPos()
public abstract boolean
hasActiveInterpolation()
method_66270()
isInterpolating()
public abstract void
cancel()
method_66272()
clear()
public class_1_1193
getCurrentPositionAndRotation()
method_1_7889()
method_1_7889()
public void
interpolateTo(PositionPath position, float yRot, float xRot)
method_66267(class_1_1198 arg0, float arg1, float arg2)
refreshPositionAndAngles(MotionPath motion, float yaw, float pitch)
public void
applyPredictedMovement(Vec3 delta)
method_1_7887(class_243 arg0)
move(Vec3d offset)
public void
interpolate()
method_66271()
tick()
private void
adjustInterpolationTargetFromDeltas()
method_1_7886()
method_1_7886()
private void
setLastPositionAndRotation()
method_1_7892()
method_1_7892()