类 InterpolationHandler
java.lang.Object
net.minecraft.world.entity.InterpolationHandler
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明static final int
private final Entity
private final InterpolationHandler.InterpolationData
private int
private final Consumer
<InterpolationHandler> private Vec3
private Vec2
-
构造器概要
构造器构造器说明InterpolationHandler
(Entity p_394439_) InterpolationHandler
(Entity p_394433_, int p_394544_) InterpolationHandler
(Entity p_393992_, int p_394386_, Consumer<InterpolationHandler> p_393601_) InterpolationHandler
(Entity p_394101_, Consumer<InterpolationHandler> p_394503_) -
方法概要
修饰符和类型方法说明void
cancel()
boolean
void
void
interpolateTo
(Vec3 p_393836_, float p_394255_, float p_393907_) position()
void
setInterpolationLength
(int p_393476_) float
xRot()
float
yRot()
-
字段详细资料
-
DEFAULT_INTERPOLATION_STEPS
public static final int DEFAULT_INTERPOLATION_STEPS- 另请参阅:
-
entity
-
interpolationSteps
private int interpolationSteps -
interpolationData
-
previousTickPosition
-
previousTickRot
-
onInterpolationStart
-
-
构造器详细资料
-
InterpolationHandler
-
InterpolationHandler
-
InterpolationHandler
-
InterpolationHandler
public InterpolationHandler(Entity p_393992_, int p_394386_, @Nullable Consumer<InterpolationHandler> p_393601_)
-
-
方法详细资料
-
position
-
yRot
public float yRot() -
xRot
public float xRot() -
interpolateTo
-
hasActiveInterpolation
public boolean hasActiveInterpolation() -
setInterpolationLength
public void setInterpolationLength(int p_393476_) -
interpolate
public void interpolate() -
cancel
public void cancel()
-