Class PhysicalGraphState

java.lang.Object
com.viaversion.viafabricplus.bedrock.movement.replay.PhysicalGraphState

public final class PhysicalGraphState extends Object
Player, vehicle, and seat members share one capture and one chronological replay.
  • 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

      public PhysicalGraphState recapture()
      Refresh the historical graph's participants, independently of today's mount and seat layout.
    • changesSince

      public PhysicalGraphState.Changes changesSince(PhysicalGraphState previous)