Minecraft: Java Edition 26.3 rewritten from scratch in Rust, checked against vanilla with 281 differential harnesses. Get it with the Horizon launcher.
Rust differential-testinggame-enginegamedevlinuxminecraftminecraft-javareimplementationrustvoxelvulkanwgpu
Format the framerate limit hook call
Ratmir57b834671312
diff --git a/crates/horizon-client/src/game/options.rs b/crates/horizon-client/src/game/options.rsindex 6d20d85ba..38403abf5 100644--- a/crates/horizon-client/src/game/options.rs+++ b/crates/horizon-client/src/game/options.rs@@ -586,7 +586,11 @@ impl Game<'_> {self.title.is_none(),&mut hooked,);- if hooked >= 1 { hooked.min(limit) } else { limit }+ if hooked >= 1 {+ hooked.min(limit)+ } else {+ limit+ }}/// `Minecraft.runTick`'s frame limiter: `FramerateLimiter.limitDisplayFPS`/// below 260 frames per second, sleeping then spin-waiting until the