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, lastPositionAndRotation

    Fields inherited from interface net.minecraft.world.entity.InterpolationHandler

    NO_OP
  • Constructor Summary

    Constructors
    Constructor
    Description
    PositionInterpolator1_8(net.minecraft.world.entity.vehicle.boat.AbstractBoat entity)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected void
     
    boolean
     
    void
     
    protected void
    interpolateTo(net.minecraft.world.entity.PositionPath position, float yaw, float pitch)
     
    @NonNull net.minecraft.core.PositionAndRotation.Mutable
     
    protected void
    startInterpolating(@NonNull net.minecraft.world.entity.PositionPath position, float yRot, float xRot)
     

    Methods inherited from class net.minecraft.world.entity.AbstractInterpolationHandler

    applyPredictedMovement, interpolateTo, target

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      interpolationData in class net.minecraft.world.entity.AbstractInterpolationHandler
    • interpolateTo

      protected void interpolateTo(net.minecraft.world.entity.PositionPath position, float yaw, float pitch)
      Overrides:
      interpolateTo in class net.minecraft.world.entity.AbstractInterpolationHandler
    • startInterpolating

      protected void startInterpolating(@NonNull net.minecraft.world.entity.PositionPath position, float yRot, float xRot)
      Specified by:
      startInterpolating in class net.minecraft.world.entity.AbstractInterpolationHandler
    • doInterpolate

      protected void doInterpolate()
      Specified by:
      doInterpolate in class net.minecraft.world.entity.AbstractInterpolationHandler
    • interpolate

      public void interpolate()
      Specified by:
      interpolate in interface net.minecraft.world.entity.InterpolationHandler
      Overrides:
      interpolate in class net.minecraft.world.entity.AbstractInterpolationHandler
    • hasActiveInterpolation

      public boolean hasActiveInterpolation()
    • cancel

      public void cancel()