EscFix
Closes any GUI with 0+Back combo on MojoLauncher / PojavLauncher
About this Mod
EscFix
A lightweight client-side mod that fixes the inability to close GUIs on mobile Minecraft launchers such as MojoLauncher and PojavLauncher.
The problem
Mobile launchers like MojoLauncher and PojavLauncher intercept the Android Back button at the system level and never pass it to the game as ESC. On top of that, both launchers don't allow you to bind the ESC key to an on-screen button - any attempt to assign it automatically gets replaced with Back. This makes it impossible to close any mod GUI that relies on ESC to exit, such as item radial menus, custom config screens, or any mod that doesn't provide its own close button.
The fix
EscFix listens to keyboard events directly inside open GUIs and closes the screen when it detects the 0 + Back combo - before the launcher can interfere.
How to use
- In your launcher's on-screen button settings, create a combo button that sends both Back and 0 simultaneously
- Open any GUI in-game
- Tap that button - the GUI will close
Creating a combo on-screen button is the most convenient way to use this mod on mobile, since holding two separate buttons while playing can be awkward.
Compatibility
- ✅ Minecraft Any version
- ✅ MojoLauncher
- ✅ PojavLauncher
- ✅ Any other launcher that remaps Back to key 1
- ✅ Client-side only - no server installation needed
- ✅ Compatible with all mods that use standard Forge GUI system
Technical details
The mod hooks into GuiScreenEvent.KeyboardInputEvent.Pre - a Forge event that fires before the GUI processes input. When the combo is detected, the event is cancelled (preventing any other action) and the current screen is closed via reflection, making it compatible even with obfuscated builds.
Available Versions
How to Install EscFix on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set forge Loader
In the panel under "Egg", select the forge loader and matching Minecraft version (1.21).
Install Mod
Open the mod browser in the dashboard and search for "EscFix". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21, 1.20, 1.19 (+7 more)
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
EscFix server crashes on startup – what to do?
Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21). You can switch loaders with one click in the panel.
Is EscFix compatible with forge?
EscFix officially supports forge for Minecraft 1.21, 1.20, 1.19. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with EscFix – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if EscFix consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install EscFix with just one click on your server.