Multi-version Fabric + Forge editions: see multiversion/README.md and the version folders. They cover the stable releases from 1.20.1 through 26.2, with explicit markers for the two releases without Forge. The original standalone Fabric 26.2 project is documented below.
A small client-side Fabric mod for Minecraft Java Edition 26.2. Version 1.0.0, mod ID speedup.
Hold either Ctrl key + Mouse Wheel during normal gameplay to select flying speed:
- Scroll up: next speed.
- Scroll down: previous speed.
- Range: 0.1x – 16x; a new world connection starts at 1x.
- Works in Creative and Spectator, whether moving or stationary. You do not need to be flying.
- In Creative, stand on the ground, select 4x, then double-tap jump: flight immediately uses 4x.
- Selecting speed never enables flight and never changes walking speed.
- While handling Ctrl + scroll, hotbar scrolling is consumed, including partial scrolls and attempts beyond either limit.
- Screens, chat, inventory, settings, overlays and the Spectator teleport menu retain their normal controls.
The exact speed ladder is:
0.1x 0.25x 0.5x 0.75x 1x 2x 4x 8x 10x 12x 14x 16x
The explicit list takes precedence over the general increment description: 4x goes straight to 8x, with no 6x step. Quarter values display as 0.25x/0.75x to preserve their actual meaning; rounding them to one decimal would mislabel the selected speed. Integers display as 1x, never 1.0x.
- Minecraft 26.2, not 1.21 or 26.1.
- Java 25 or newer.
- Fabric Loader 0.19.5 or newer.
- Fabric API 0.160.0+26.2 or a compatible newer release for 26.2.
Install a Fabric 26.2 client profile. Put speedup-1.0.0.jar and the Fabric API JAR in that profile's mods directory, then launch the Fabric profile. Install SpeedUp! on the client only; no server-side SpeedUp! installation is required.
Use a JDK 25 installation (java -version should report 25; set JAVA_HOME if needed). The wrapper downloads Gradle 9.5.1, and the build uses Fabric Loom 1.17.20. Dependency downloads require Internet access on the first build.
Windows PowerShell:
.\gradlew.bat clean build --warning-mode=allLinux/macOS:
chmod +x gradlew
./gradlew clean build --warning-mode=allOutput:
build/libs/speedup-1.0.0.jar
The accompanying speedup-1.0.0-sources.jar contains source code; install the regular JAR only. build runs the dependency-free verifySpeedUp regression task. The ordinary JUnit test task is intentionally disabled because these checks use a standalone Java main.
When the Windows checkout path contains !, the wrapper builds a source-only mirror under %TEMP%/speedup-build-<checkout-hash> and copies successful JARs back to the path above. The mirror retains Gradle's cache for later builds; it never includes .git. This avoids Java ZIP URI parsing failures during remapping. On other platforms, use a checkout path without an exclamation mark.
Minecraft 26.2 is unobfuscated. The build uses net.fabricmc.fabric-loom with the names shipped by Mojang, without legacy Yarn mappings or a remapping plugin. Versions were checked against Fabric's metadata and the official 26.2 development guidance; hook signatures and movement behavior were inspected in the actual Gradle-resolved 26.2 code.
SpeedUpClient: registers Fabric connection and client-tick lifecycle callbacks.flight/SpeedSteps: immutable, indexed values and exact display labels.flight/FlySpeedState: session selection, absolute0.05F * multiplierflying speed, restoration and ability update handling.input/FlySpeedScrollandinput/ScrollSteps: input eligibility and bounded raw-scroll accumulation.hud/FlySpeedHud: native 26.2 action-bar message, centered above the hotbar with vanilla text/backdrop styling and a three-second timer including its fade. Repeated changes reset the timer. Other vanilla/server action-bar messages can replace it.mixin/MouseHandlerMixin: cancelsMouseHandler.onScrollat its head only for handled input, before vanilla sensitivity, accumulation, hotbar and Spectator scrolling.mixin/ClientPacketListenerMixin: reapplies the selection after vanilla handles a server abilities packet, without changing any other ability fields.
Only the flying-speed field is written, on selection, relevant mode/player changes or server ability updates. There is no every-tick multiplier application. The tick callback only detects lifecycle changes. The selected index survives Creative/Spectator switches, Survival/Adventure interludes, death, respawn and dimensions; it resets on disconnect/join. Switching out of the flight modes restores the remembered server speed. Flight permission and the flying boolean are never written.
Without Ctrl, the original scroll method runs unchanged. In particular, vanilla Spectator scrolling itself adjusts flying speed (or operates its teleport menu). SpeedUp! does not undo these ordinary scroll changes each tick. They can temporarily move the actual Spectator speed off the listed ladder; the stored Ctrl selection is restored on the next Ctrl adjustment, mode/player transition or ability packet. This preserves vanilla no-Ctrl behavior while keeping the Ctrl selection persistent.
Raw wheel input is independent of Minecraft's sensitivity setting. Integral notches advance one step each; fractional events accumulate to one unit, while any single callback is capped at one step. Direction changes, lost eligibility and a 250 ms idle gap clear stale fractions. GLFW provides deltas, not physical-gesture identifiers: arbitrary touchpad/free-spin hardware gestures cannot universally be recognized as exactly one notch. The implementation prevents large deltas and queued remainders from skipping several values at once.
Movement is simulated by the local player using the abilities flying-speed field, so the mod can work on unmodified servers. Incoming ability packets cannot permanently erase the stored selection. The outgoing vanilla abilities packet communicates the flying flag, not a requested speed, so this mod does not attempt to transmit speed changes as an abilities packet.
The server remains authoritative about movement. Vanilla 26.2 has a movement-distance check even for Creative/Spectator; high speeds, sprinting or lag may trigger corrections/rubber-banding, and third-party anti-cheat can impose stricter limits. Consequently all speeds up to 16x cannot be guaranteed on every multiplayer server. Server administrators must permit the desired movement through their server configuration if necessary. No client-only implementation can override a server rejecting that movement; SpeedUp! adds no server protocol or anti-cheat bypass. The local single-player owner is exempt from the inspected vanilla movement-distance check.
Other mods that deliberately manage the same flying-speed field may conflict. SpeedUp! restores the most recently received server value on leaving the supported modes.
The project has been compiled with Java 25, Gradle 9.5.1 and the pinned Fabric dependencies. Automated checks cover every allowed value in both directions, bounds/default, exact labels, the actual 26.2 vanilla baseline, integral/fractional/large scroll deltas, direction and idle resets, invalid input, and the existence of both mixin targets in the resolved game classes. clean build --warning-mode=all also checks Java deprecation/unchecked warnings.
Interactive gameplay and dedicated-server acceptance are not automated by these checks. Suggested in-game acceptance checks:
- Join Creative, remain grounded, choose 4x, verify the HUD and unchanged hotbar, then double-tap jump and fly.
- Change speed while walking; verify that walking speed and flight state stay unchanged.
- Check both Ctrl keys, all ladder values and both bounds; release Ctrl and verify vanilla hotbar scrolling.
- Try Ctrl + scroll in inventory, chat, settings and the Spectator teleport menu; verify vanilla UI behavior.
- Switch Creative → Spectator → Survival/Adventure → Creative, and verify selection restoration and normal unsupported-mode movement.
- Die, respawn, change dimension and receive an ability update; verify that the selection persists. Reconnect and verify 1x.
- Check the message fade/reset, fractional scrolling and multiplayer movement corrections at higher speeds.
Licensed under MIT. Gradle's wrapper scripts retain their upstream Apache-2.0 notices.