Class PhysicalGraphState
java.lang.Object
com.viaversion.viafabricplus.bedrock.movement.replay.PhysicalGraphState
Player, vehicle, and seat members share one capture and one chronological replay.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsMode(net.minecraft.client.player.LocalPlayer player, net.raphimc.viabedrock.api.model.PlayerModeMessage message) booleanacceptsMotion(net.minecraft.world.entity.Entity actor, net.minecraft.client.player.LocalPlayer player, net.raphimc.viabedrock.api.model.ActorMotionCommand command, long currentLease) static PhysicalGraphStatecapture(Iterable<net.minecraft.world.entity.Entity> actors, Iterable<net.minecraft.world.entity.Entity> members, long controlLease) changesSince(PhysicalGraphState previous) correctionTarget(net.minecraft.world.entity.Entity actor, net.minecraft.client.player.LocalPlayer player, net.raphimc.viabedrock.api.model.PlayerCorrection command, long currentLease) Refresh the historical graph's participants, independently of today's mount and seat layout.voidrestore()booleanvalid(net.minecraft.client.player.LocalPlayer player)
-
Method Details
-
capture
public static PhysicalGraphState capture(Iterable<net.minecraft.world.entity.Entity> actors, Iterable<net.minecraft.world.entity.Entity> members, long controlLease) -
correctionTarget
public PhysicalActorState correctionTarget(net.minecraft.world.entity.Entity actor, net.minecraft.client.player.LocalPlayer player, net.raphimc.viabedrock.api.model.PlayerCorrection command, long currentLease) -
acceptsMotion
public boolean acceptsMotion(net.minecraft.world.entity.Entity actor, net.minecraft.client.player.LocalPlayer player, net.raphimc.viabedrock.api.model.ActorMotionCommand command, long currentLease) -
acceptsMode
public boolean acceptsMode(net.minecraft.client.player.LocalPlayer player, net.raphimc.viabedrock.api.model.PlayerModeMessage message) -
valid
public boolean valid(net.minecraft.client.player.LocalPlayer player) -
restore
public void restore() -
recapture
Refresh the historical graph's participants, independently of today's mount and seat layout. -
changesSince
-