🎮 Heldables
Heldables is a simple and lightweight Minecraft Forge modification that enables key press automation through a single macro hotkey. Particularly useful for holding down ability activation buttons in mods similar to Tensura Reincarnated! 🚀
✨ Key Features
- Macro Key: Activate and deactivate holding any specified key (such as Z) with a single button press — default is period (.)
- Flexible Configuration: Customization options allow changing both the macro key and the held button directly in the code
- Resource Efficient: Minimal performance impact ensures smooth gameplay
- Compatibility: Developed for Minecraft Forge version 1.19.2
📥 Installation
To install the mod, follow these steps:
- System Requirements: Ensure you have Java 17 or newer version installed
- Download the .jar file from the downloads section
- Place the downloaded file in the .minecraft/mods/ folder on your computer
- Launch Minecraft using the Forge profile
🎮 Usage
Default Control Settings:
- Macro Key: . (period) — turns the holding function on and off
- Held Key: Z — can be modified in settings
How It Works:
- Press the . key to start automatically holding the Z button
- Press . again to stop the holding function
🛠️ Customization
To modify control settings, edit the following lines in the source code:
private static final KeyMapping MACRO_KEY = new KeyMapping("key.heldables.macro", InputConstants.Type.KEYSYM, GLFW.GLFW_KEY_PERIOD, "key.categories.heldables");
InputConstants.Key key = InputConstants.Type.KEYSYM.getOrCreate(GLFW.GLFW_KEY_Z);