Class RemotePlayerInterpolation
java.lang.Object
com.viaversion.viafabricplus.bedrock.movement.RemotePlayerInterpolation
Native float position, main-rotation, and head components with independent counters.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanactive()voidclear()voidreceive(net.raphimc.viabedrock.api.model.RemotePlayerMovement movement) net.raphimc.viabedrock.protocol.model.Position3frotation()net.raphimc.viabedrock.protocol.model.Position3ftarget()tick(net.raphimc.viabedrock.protocol.model.Position3f position, float pitch, float yaw, float previousPitch, float previousYaw, float headYaw)
-
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()
-