Class BedrockPhysicalReplay
java.lang.Object
com.viaversion.viafabricplus.bedrock.input.BedrockPhysicalReplay
Connection-owned recording and real execution of the client's historical physical tick graph.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanactive()static voidbegin(net.minecraft.client.player.LocalPlayer player, long frame) static voidclear()static voidcomplete(long frame) static voidstatic voidcorrect(net.raphimc.viabedrock.api.model.PlayerCorrection correction) static voidstatic voidmode(net.raphimc.viabedrock.api.model.PlayerModeMessage message) static voidmodeSnapshot(net.raphimc.viabedrock.api.model.PlayerModeMessage message) static voidstatic voidmotion(net.raphimc.viabedrock.api.model.ActorMotionCommand command) static voidpassengers(net.minecraft.client.multiplayer.ClientLevel level, net.minecraft.world.entity.Entity vehicle, List<net.minecraft.world.entity.Entity> passengers, Runnable live) static voidpassengerTick(net.minecraft.client.multiplayer.ClientLevel level, net.minecraft.world.entity.Entity vehicle, net.minecraft.world.entity.Entity passenger, Runnable tick) static voidpreparePhysics(net.minecraft.client.multiplayer.ClientLevel level) static voidrootTick(net.minecraft.client.multiplayer.ClientLevel level, net.minecraft.world.entity.Entity actor, Runnable tick) static voidsynchronizeCorrectedPosition(net.minecraft.client.player.LocalPlayer player) static voidteleport(int teleportId) Unpaired positive position IDs represent native teleports; negative IDs are local synchronization.static voidworldPhysics(net.minecraft.world.level.Level level, Runnable action)
-
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
-
dismount
-
motion
-
worldPhysics
-