About
In the original MineMenu, the Shift + Click shortcut is hardcoded to enter the "Edit Mode." For players who frequently use the Shift key for sprinting (common in hardcore survival or combat-heavy modpacks), this often leads to accidentally triggering the edit interface while trying to use a menu item. Since the original mod has been out of active development for 1.20.1 since late 2023, this conflict remained unaddressed.
Key Features & Modifications
Logic Decoupling (Bytecode Patch): Using direct bytecode manipulation, the hasShiftDown() check has been bypassed within the click-detection method. Pressing Shift while clicking menu items will no longer trigger the edit screen.
-
UI Purification: The red "EDIT" text that appears above menu icons when Shift is held has been removed to ensure a clean, immersive visual experience.
-
Hardcore Performance: The patch is implemented at the JVM instruction level (iconst_0). It removes unnecessary logic branches, making it extremely lightweight and ideal for performance-heavy 1.20.1 modpacks and local network (LAN) multiplayer environments.
-
Retained Functionality: You can still edit your menu items by enabling "Right Click to Edit" in the config or by using the dedicated edit keybind.

Installation
1.Remove the existing minemenu-1.20.1-xxx.jar from your mods folder.
2.Install this patched .jar instead.
3.Synchronize this file with your fellow players if playing in a LAN/Multiplayer environment.
License & Credits
Original Author: GirafiStudios
License: This patch is distributed under the MIT License, in full compliance with the original mod's licensing terms.
Disclaimer: This is an unofficial community fix. Please do not report issues found in this version to the original author.

