Описание
# 🎮 Heldables


[](https://github.com/Sourish25/Sourish25-Heldables)
**Heldables** is a lightweight and easy-to-use Minecraft Forge mod that allows you to automate key presses with a single macro key. Perfect for holding down keys like `Z` for skills in mods like **Tensura Reincarnated**! 🚀
---
## ✨ **Features**
- **Macro Key**: Press the `.` (period) key to toggle holding a specified key (e.g., `Z`).
- **Customizable**: Easily change the macro key and the key to be held in the code.
- **Lightweight**: Minimal performance impact, designed for smooth gameplay.
- **Forge Compatibility**: Built for Minecraft Forge 1.19.2.
---
## 📥 **Installation**
1. **Java Version**: Ensure you have **Java 17** or higher installed.
2. Download the `.jar` file from the **Files** section.
3. Place the file in your `.minecraft/mods/` folder.
4. Launch Minecraft with the Forge profile.
---
## 🎮 **Usage**
1. **Default Keybindings**:
- **Macro Key**: `.` (period) to toggle holding the specified key.
- **Held Key**: `Z` (customizable in the code).
2. **How It Works**:
- Press the `.` key to start holding the `Z` key.
- Press the `.` key again to stop holding the `Z` key.
---
## 🛠️ **Customization**
To change the macro key or the held key, modify the following lines in the code:
```java
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);