net.minecraft.world.entity

public class InterpolationHandler

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

Field summary

Modifier and TypeField
public static final int
a
DEFAULT_INTERPOLATION_STEPS
field_55663
DEFAULT_INTERPOLATION_DURATION
private final Entity
b
entity
field_55664
entity
private int
c
interpolationSteps
field_55665
lerpDuration
private final InterpolationHandler$InterpolationData
d
interpolationData
field_55666
data
private Vec3
e
previousTickPosition
field_55667
lastPos
private Vec2
f
previousTickRot
field_55668
lastRotation
private final Consumer<InterpolationHandler>
g
onInterpolationStart
field_55669
callback

Constructor summary

ModifierConstructor
public (Entity entity)
public (Entity entity, int lerpDuration)
public (Entity entity, Consumer<InterpolationHandler> callback)
public (Entity entity, int lerpDuration, Consumer<InterpolationHandler> callback)

Method summary

Modifier and TypeMethod
public Vec3
a()
position()
method_66265()
getLerpedPos()
public float
b()
yRot()
method_66268()
getLerpedYaw()
public float
c()
xRot()
method_66269()
getLerpedPitch()
public void
a(fdw arg0, float arg1, float arg2)
interpolateTo(Vec3 arg0, float arg1, float arg2)
method_66267(class_243 arg0, float arg1, float arg2)
refreshPositionAndAngles(Vec3d pow, float yaw, float pitch)
public boolean
d()
hasActiveInterpolation()
method_66270()
isInterpolating()
public void
a(int arg0)
setInterpolationLength(int arg0)
method_66266(int arg0)
setLerpDuration(int lerpDuration)
public void
e()
interpolate()
method_66271()
tick()
public void
f()
cancel()
method_66272()
clear()