Описание
# Dupe Trigger
This mod allows you to double the count of the item you're currently holding with a single keybind.
## Features
- **Keybind to double item count** - press a key to instantly double the amount of the item in your hand.
- **Duping past 64** - stacks aren't capped at 64, so you can keep doubling all the way up to the integer limit (2,147,483,647).
- **Readable large numbers** - once a stack hits 1,000 or more, the count is shortened for readability:
- `1000` → `1K`
- `500,000` → `500K`
- `1,000,000` → `1M`
- Up to `2B` (the max possible due to the integer limit)
- **Exact count tooltip** - hover over any item with a shortened count (1K and above) to see a tooltip that shows the exact item count.
- **Auto-scaling text** - the count label shrinks to fit within the slot, so even something like `999M` stays within the slot.
## Usage
1. Hold the item you want to duplicate.
2. Press the `Dupe` keybind (default: `Right Alt`, configurable in Controls settings).
3. The held stack's count doubles.
## Notes
This mod is both **clientside** and **serverside**.
- **Multiplayer** - the mod must be installed on both the server and the client for players to use it.
- **Singleplayer** - just install it normally.
Cheats do not need to be enabled for players to dupe items.
## Credits
- Built from scratch with no external dependencies.
- Reference from the [Stackable](https://modrinth.com/mod/stackable127) mod - several formatting/display concepts (number shortening, tooltip display, text scaling) were adapted from their approach, with thanks to the original author. This mod only implements the features needed.