
Smart Gap
Eat Golden Apples with a single hotkey and automatically switch back to your sword or axe once you're done—never lose a second in combat.
Screenshots

About this Mod
🍎 Smart Gap – Perfect Combat Timing
Smart Gap is a streamlined Fabric utility mod designed to make your healing process in PvP as efficient as possible. No more manual scrolling or mis-timed weapon switches—let the mod handle the logistics while you focus on the fight.
✨ Main Features:
One-Key Healing: Press X (default) to instantly select a Golden Apple from your hotbar.
Smart Prioritization: The mod automatically detects both regular and Enchanted Golden Apples (God Apples). It will prioritize Enchanted Gaps first to save your life in sticky situations.
Auto Weapon-Switch: This is the game-changer. As soon as you finish the eating animation, the mod automatically switches back to your Sword. If no sword is found, it switches to your Axe.
Passive Assistance: The auto-switch feature works even if you didn't use the hotkey! If you manually select an apple and eat it, Smart Gap will still help you swap back to your weapon instantly.
Anti-Cheat Safe: The mod only interacts with the client-side SelectedSlot. It simulates standard player behavior (like scrolling or pressing a number key), making it safe for use on most competitive servers.
🛠 Installation:
Ensure Fabric Loader is installed for 1.21.1.
Place the Smart Gap JAR file into your .minecraft/mods folder.
Launch the game and find the "Eat Smart Gap" keybind in your Controls menu to customize it.
💡 Why use Smart Gap?
In fast-paced PvP, every millisecond counts. Manually switching from your sword to a gap and back again is prone to human error. Smart Gap removes that friction, ensuring your weapon is always ready the moment your health starts regenerating.
Available Versions
How to Install Smart Gap on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).
Install Mod
Open the mod browser in the dashboard and search for "Smart Gap". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Smart Gap server crashes on startup – what to do?
Most common cause: wrong fabric 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.11). You can switch loaders with one click in the panel.
Is Smart Gap compatible with fabric?
Smart Gap officially supports fabric for Minecraft 1.21.11. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Smart Gap – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Smart Gap 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 Smart Gap with just one click on your server.