Class BedrockPhysicalReplay

java.lang.Object
com.viaversion.viafabricplus.bedrock.input.BedrockPhysicalReplay

public final class BedrockPhysicalReplay extends Object
Connection-owned recording and real execution of the client's historical physical tick graph.
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
     
    static void
    begin(net.minecraft.client.player.LocalPlayer player, long frame)
     
    static void
     
    static void
    complete(long frame)
     
    static void
     
    static void
    correct(net.raphimc.viabedrock.api.model.PlayerCorrection correction)
     
    static void
    dismount(net.minecraft.world.entity.Entity actor, Runnable action)
     
    static void
    mode(net.raphimc.viabedrock.api.model.PlayerModeMessage message)
     
    static void
    modeSnapshot(net.raphimc.viabedrock.api.model.PlayerModeMessage message)
     
    static void
    motion(net.minecraft.world.entity.Entity actor, Runnable action)
     
    static void
    motion(net.raphimc.viabedrock.api.model.ActorMotionCommand command)
     
    static void
    passengers(net.minecraft.client.multiplayer.ClientLevel level, net.minecraft.world.entity.Entity vehicle, List<net.minecraft.world.entity.Entity> passengers, Runnable live)
     
    static void
    passengerTick(net.minecraft.client.multiplayer.ClientLevel level, net.minecraft.world.entity.Entity vehicle, net.minecraft.world.entity.Entity passenger, Runnable tick)
     
    static void
    preparePhysics(net.minecraft.client.multiplayer.ClientLevel level)
     
    static void
    rootTick(net.minecraft.client.multiplayer.ClientLevel level, net.minecraft.world.entity.Entity actor, Runnable tick)
     
    static void
    synchronizeCorrectedPosition(net.minecraft.client.player.LocalPlayer player)
     
    static void
    teleport(int teleportId)
    Unpaired positive position IDs represent native teleports; negative IDs are local synchronization.
    static void
    worldPhysics(net.minecraft.world.level.Level level, Runnable action)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • begin

      public static void begin(net.minecraft.client.player.LocalPlayer player, long frame)
    • teleport

      public static void teleport(int teleportId)
      Unpaired positive position IDs represent native teleports; negative IDs are local synchronization.
    • preparePhysics

      public static void preparePhysics(net.minecraft.client.multiplayer.ClientLevel level)
    • complete

      public static void complete(long frame)
    • controlChanged

      public static void controlChanged()
    • correct

      public static void correct(net.raphimc.viabedrock.api.model.PlayerCorrection correction)
    • motion

      public static void motion(net.raphimc.viabedrock.api.model.ActorMotionCommand command)
    • mode

      public static void mode(net.raphimc.viabedrock.api.model.PlayerModeMessage message)
    • modeSnapshot

      public static void modeSnapshot(net.raphimc.viabedrock.api.model.PlayerModeMessage message)
    • synchronizeCorrectedPosition

      public static void synchronizeCorrectedPosition(net.minecraft.client.player.LocalPlayer player)
    • active

      public static boolean active()
    • clear

      public static void clear()
    • rootTick

      public static void rootTick(net.minecraft.client.multiplayer.ClientLevel level, net.minecraft.world.entity.Entity actor, Runnable tick)
    • passengerTick

      public static void passengerTick(net.minecraft.client.multiplayer.ClientLevel level, net.minecraft.world.entity.Entity vehicle, net.minecraft.world.entity.Entity passenger, Runnable tick)
    • passengers

      public static void passengers(net.minecraft.client.multiplayer.ClientLevel level, net.minecraft.world.entity.Entity vehicle, List<net.minecraft.world.entity.Entity> passengers, Runnable live)
    • dismount

      public static void dismount(net.minecraft.world.entity.Entity actor, Runnable action)
    • motion

      public static void motion(net.minecraft.world.entity.Entity actor, Runnable action)
    • worldPhysics

      public static void worldPhysics(net.minecraft.world.level.Level level, Runnable action)