Class RemotePlayerInterpolation

java.lang.Object
com.viaversion.viafabricplus.bedrock.movement.RemotePlayerInterpolation

public final class RemotePlayerInterpolation extends Object
Native float position, main-rotation, and head components with independent counters.
  • Constructor Details

    • RemotePlayerInterpolation

      public RemotePlayerInterpolation()
  • Method Details

    • receive

      public void receive(net.raphimc.viabedrock.api.model.RemotePlayerMovement movement)
    • tick

      public RemotePlayerInterpolation.Step tick(net.raphimc.viabedrock.protocol.model.Position3f position, float pitch, float yaw, float previousPitch, float previousYaw, float headYaw)
    • active

      public boolean active()
    • target

      public net.raphimc.viabedrock.protocol.model.Position3f target()
    • rotation

      public net.raphimc.viabedrock.protocol.model.Position3f rotation()
    • clear

      public void clear()