ModsFinder

Mouse 4 as back

by bikerboys

Mouse 4 as back binds the fourth mouse button to a Back action that closes the current screen and returns to the one before it.

FabricClient-side onlyMIT LicenseOpen source1.21 – 26.2

What it does

A hotkey on the fourth mouse button sends the player to the previous screen. Because not every screen stores a reference to the one that opened it, the mod tries several methods in turn: it looks for a button whose label reads back, return, done or cancel, then searches fields with names such as previous, lastscreen and parentscreen, and finally calls the close method that the Escape key uses.

The search is built around vanilla screen behavior. Some submenus, such as video settings nested under the settings screen, keep a link to their parent, and the mod follows fields up to a depth of seven. The method used to find that depth was chosen arbitrarily, and the mod's developer notes that the approach was chosen to make sure it works across the screens tested.

Installation needs Fabric API. The mod runs on the client alone, so only players install it and servers need nothing. Files cover 1.21 – 26.2 for Fabric, with 1.0.0+26.2 for 26.2 as the latest file, released under the MIT License. The source code is public and the mod is open source.

Key features

  1. Fourth mouse button back

    Pressing the fourth mouse button returns to the previous screen, without needing to find a back button.

  2. Four fallback methods

    When one method fails, the mod tries the next: button labels, stored parent fields, then the Escape close call.

  3. Nested submenu support

    Field lookup follows parent references through several levels of screens, so submenus return to their parent.

  4. Single-button detection

    A button is accepted only when its text matches one of the expected back words, reducing wrong clicks.

Compatibility

Latest build for each game version and loader.

26.x4 of 4 versions with builds
26.21.0.0+26.2
26.1.21.0.0+26.1
26.1.11.0.0+26.1
26.11.0.0+26.1
1.21.x9 of 9 versions with builds
1.21.111.0.0+1.21.9-1.21.11
1.21.101.0.0+1.21.9-1.21.11
1.21.91.0.0+1.21.9-1.21.11
1.21.51.0.0+1.21-1.21.5
1.21.41.0.0+1.21-1.21.5
1.21.31.0.0+1.21-1.21.5
1.21.21.0.0+1.21-1.21.5
1.21.11.0.0+1.21-1.21.5
1.211.0.0+1.21-1.21.5
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

How it compares

Full comparison

VariableMod is a Fabric client mod for 1.21 – 1.21.8 under the MIT License and open source. My Mouse is Broken covers 1.20.6 – 1.21.1 on Fabric, is client-side only and is open source under the MIT License. Mod Settings is also client-side only and open source under the MIT License, with files for 1.17 – 26.3. Toggle Fix targets 1.21.9 – 26.1.2 and is not open source, while Settings Hotkey is for 26.1.2 only under the CC0 1.0 Universal license.

ModLoadersGame versionsEnvironmentUpdated
Mouse 4 as backFabric1.21 – 26.2Client-side only2026-07-02
VariableModFabric1.21 – 1.21.8Client-side only2026-05-27
My Mouse is BrokenFabric1.20.6 – 1.21.1Client-side only2024-10-20
Mod SettingsFabric1.17 – 26.3Client-side only2026-09-20
Toggle FixFabric1.21.9 – 26.1.2Client-side only2026-07-11
Settings HotkeyFabric26.1.2Client-side only2026-07-26

Questions

Does Mouse 4 as back need Fabric API?

Yes. Fabric API is a required dependency and must be installed next to the mod on Fabric.

Does the server need Mouse 4 as back?

No. It is installed on the player's side alone, so servers need nothing.

Which game versions have files for Mouse 4 as back?

Files cover 1.21 – 26.2 across 13 release versions, with 1.0.0+26.2 for 26.2 as the latest Fabric file.

In the catalog

Mouse 4 as back is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 13,894 mods support Minecraft 26.2.

More from bikerboys

All projects

Similar mods

What the author says

It has 4 ways of finding the previous screen. It first tries to find any buttons on screen that in the en_us language, has any of these words as its title: back, return, done, cancel. If it finds any button that only contain one of those words, then it will click that.
bikerboys, on the Modrinth page

Official listing

Owner
bikerboys
Published
2026-07-01
Updated on Modrinth
2026-07-02
Facts verified
2026-10-15

Tags