This mod currently adds 2 systems to prevent accidental dropping of items:
- A drop delay system, which changes how item dropping works - the "drop" key now needs to be held down for a configurable amount of ticks.
- A favorites system, which allows specifying certain items that cannot be dropped without holding another modifier key. Items can currently be specified by their type, what enchantments they have and what tags they're in.
Each of these two systems can be enabled or disabled independently of each other.
Additionally, this mod also prevents dropping items from screens via:
- Clicking outside of the screen (favorite items by default).
- Closing the screen (all items by default).
This can be configured to include all items, only favorite items, or be disabled completely.
The mod can be configured using Mod Menu, or you can edit the configuration file manually at config/dontdropit.json5
.
This mod will also allow you to rebind the "drop entire stack" modifier key (Left Control by default).
This mod comes bundled with Amecs API, which, among other improvements, allows multiple actions to be bound to the same key - this is required for the default keybinds to not break the "Sprint" key.
This mod is entirely client-side, and doesn't need to be installed on the server to work (in fact, it does nothing on a server).