net.minecraft.entity.movement

public abstract class AbstractPositionInterpolator

implements PositionInterpolator

net.minecraft.world.entity.AbstractInterpolationHandler
net.minecraft.class_10584
net.minecraft.entity.movement.AbstractPositionInterpolator

Field summary

Modifier and TypeField
protected final Entity
entity
field_55664
entity
protected int
interpolationSteps
field_55665
trackTickInterval
protected final EntityStance$Mutable
lastPositionAndRotation
field_1_8594
lastStance

Constructor summary

ModifierConstructor
public (Entity entity, int trackTickInterval)

Method summary

Modifier and TypeMethod
protected abstract EntityStance$Mutable
interpolationData()
method_1_7890()
getMutableDestination()
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 EntityStance
target()
method_1_7889()
getDestination()
public boolean
interpolateTo(PositionPath position, float yRot, float xRot, boolean hasRotation)
method_1_9614(class_1_1198 arg0, float arg1, float arg2, boolean arg3)
updateTrackedPositionAndAngles(MotionPath arg0, float arg1, float arg2, boolean arg3)
protected 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 arg0)
public void
interpolate()
method_66271()
tick()
private void
adjustInterpolationPosition(Vec3 delta)
method_1_9660(class_243 arg0)
moveDestinationIfUnobstructed(Vec3d offset)
private void
adjustInterpolationTargetFromDeltas()
method_1_7886()
shiftDestination()
private void
setLastPositionAndRotation()
method_1_7892()
updateLastStance()