Class PositionInterpolator1_8
java.lang.Object
net.minecraft.world.entity.AbstractInterpolationHandler
com.viaversion.viafabricplus.features.v1_8.PositionInterpolator1_8
- All Implemented Interfaces:
net.minecraft.world.entity.InterpolationHandler
public final class PositionInterpolator1_8
extends net.minecraft.world.entity.AbstractInterpolationHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.entity.InterpolationHandler
net.minecraft.world.entity.InterpolationHandler.NoOpInterpolationHandler -
Field Summary
Fields inherited from class net.minecraft.world.entity.AbstractInterpolationHandler
entity, interpolationSteps, lastPositionAndRotationFields inherited from interface net.minecraft.world.entity.InterpolationHandler
NO_OP -
Constructor Summary
ConstructorsConstructorDescriptionPositionInterpolator1_8(net.minecraft.world.entity.vehicle.boat.AbstractBoat entity) -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()protected voidbooleanvoidprotected voidinterpolateTo(net.minecraft.world.entity.PositionPath position, float yaw, float pitch) @NonNull net.minecraft.core.PositionAndRotation.Mutableprotected voidstartInterpolating(@NonNull net.minecraft.world.entity.PositionPath position, float yRot, float xRot) Methods inherited from class net.minecraft.world.entity.AbstractInterpolationHandler
applyPredictedMovement, interpolateTo, targetMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.entity.InterpolationHandler
interpolationTracker
-
Constructor Details
-
PositionInterpolator1_8
public PositionInterpolator1_8(net.minecraft.world.entity.vehicle.boat.AbstractBoat entity)
-
-
Method Details
-
interpolationData
public @NonNull net.minecraft.core.PositionAndRotation.Mutable interpolationData()- Specified by:
interpolationDatain classnet.minecraft.world.entity.AbstractInterpolationHandler
-
interpolateTo
protected void interpolateTo(net.minecraft.world.entity.PositionPath position, float yaw, float pitch) - Overrides:
interpolateToin classnet.minecraft.world.entity.AbstractInterpolationHandler
-
startInterpolating
protected void startInterpolating(@NonNull net.minecraft.world.entity.PositionPath position, float yRot, float xRot) - Specified by:
startInterpolatingin classnet.minecraft.world.entity.AbstractInterpolationHandler
-
doInterpolate
protected void doInterpolate()- Specified by:
doInterpolatein classnet.minecraft.world.entity.AbstractInterpolationHandler
-
interpolate
public void interpolate()- Specified by:
interpolatein interfacenet.minecraft.world.entity.InterpolationHandler- Overrides:
interpolatein classnet.minecraft.world.entity.AbstractInterpolationHandler
-
hasActiveInterpolation
public boolean hasActiveInterpolation() -
cancel
public void cancel()
-