Class NativeMovementSources
java.lang.Object
net.raphimc.viabedrock.api.model.NativeMovementSources
Retained network position and interpolation inputs used by the native solid-shape refresh.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ActorSpatialCommand next) voidbeforePhysics(Position3f position) Normal interpolation, queued target and prediction-input phases, before collision gathering.static CollisionContact.Boxbounds(Position3f point, float width, float height, float originOffset) All operations round as native floats before the box normalizes its extrema.command()position(NativeMovementSources.Interpolation historical) static Position3fselect(Position3f history, boolean historyEligible, NativeMovementSources.Interpolation interpolation)
-
Constructor Details
-
NativeMovementSources
-
-
Method Details
-
apply
-
beforePhysics
Normal interpolation, queued target and prediction-input phases, before collision gathering. -
command
-
interpolation
-
position
-
select
public static Position3f select(Position3f history, boolean historyEligible, NativeMovementSources.Interpolation interpolation) -
bounds
public static CollisionContact.Box bounds(Position3f point, float width, float height, float originOffset) All operations round as native floats before the box normalizes its extrema.
-