net.minecraft.entity.movement

class PathingPositionInterpolator$Destination

extends EntityStance$Mutable

All mapped superinterfaces:

EntityStance

net.minecraft.world.entity.SteppedInterpolationHandler$InterpolationData
net.minecraft.world.entity.SteppedInterpolationHandler$InterpolationData
net.minecraft.class_1_1279$class_1_1280
net.minecraft.entity.movement.PathingPositionInterpolator$Destination

Field summary

Modifier and TypeField
private final LinkedList<PathingPositionInterpolator$Step>
remainingSteps
remainingSteps
field_1_8710
steps
private final EntityStance$Mutable
lastStepPosRot
lastStepPosRot
field_1_9193
lastStance
private float
currentStepTicks
currentStepTicks
field_1_8707
progress
private float
remainingTicks
remainingTicks
field_1_9194
totalDuration
private float
interpolationSpeed
interpolationSpeed
field_1_9192
ticksLeft

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
private void
advance(float ticks, int interpolationSteps)
advance(float ticks, int interpolationSteps)
method_1_8854(float arg0, int arg1)
updateTimes(float entityMotionRate, int lerpDuration)
private void
reset()
reset()
method_1_8857()
clear()
public void
addDelta(Vec3 delta)
addDelta(Vec3 delta)
method_1_7635(class_243 arg0)
move(Vec3d arg0)
public void
addRotation(float yRot, float xRot)
addRotation(float yRot, float xRot)
method_1_7636(float arg0, float arg1)
turn(float arg0, float arg1)
private void
setStartingPoint(Vec3 position, float yRot, float xRot)
setStartingPoint(Vec3 position, float yRot, float xRot)
method_1_8858(class_243 arg0, float arg1, float arg2)
teleport(Vec3d pos, float yaw, float pitch)
private void
addStep(Vec3 position, float yRot, float xRot, int interpolationSteps)
addStep(Vec3 position, float yRot, float xRot, int interpolationSteps)
method_1_8853(class_243 arg0, float arg1, float arg2, int arg3)
addMotionStep(Vec3d pos, float yaw, float pitch, int lerpDuration)
private void
addSteps(PositionPath position, float yRot, float xRot, int interpolationSteps)
addSteps(PositionPath position, float yRot, float xRot, int interpolationSteps)
method_1_8149(class_1_1198 arg0, float arg1, float arg2, int arg3)
setMotionPath(MotionPath motion, float yaw, float pitch, int lerpDuration)
private static int
getInterpolationTicks(List<PositionStep> steps)
getInterpolationTicks(List<PositionStep> steps)
method_1_8855(List<class_1_1202> arg0)
getTotalTickOffset(List<MotionStep> steps)
private EntityStance
getNewPositionAndRotation()
getNewPositionAndRotation()
method_1_8856()
getInterpolatedStance()