Описание
# 🗑️ Inventory Trash Can
Keep your inventory clean and organized! **Inventory Trash Can** is a lightweight, vanilla-friendly Quality of Life mod that adds a convenient trash button directly to your survival inventory screen.
## ✨ Features
- **🗑️ One-Click Trash:** Click the trash button while holding an item to permanently delete it
- **📦 Bulk Delete:** Hold **Shift** and click to delete ALL matching items in your inventory at once
- **↩️ Undo Support:** Click with an empty cursor to restore the last trashed item stack
- **🔍 Highlight Mode:** Matching items glow to easily spot what you're about to delete
- **🔢 Item Counter:** See exactly how many of each item you have in your inventory
- **⚙️ Configurable Position:** Move the trash button to any corner of your inventory screen
- **🔄 Desync-Free:** Fully server-authoritative — no ghost items or visual glitches
- **💨 Lightweight:** Minimal code, zero lag, no unnecessary bloat
## 🖼️ Screenshots

*Click the trash button to delete the item on your cursor*

*Hold Shift to delete all matching items at once*

*Matching items are highlighted for easy identification*

*Built-in counter shows item quantities at a glance*
## 🎮 How to Use
1. Open your survival inventory
2. Pick up any item or stack you want to trash
3. **Click the Trash Button** → item deleted permanently
4. **Shift + Click** → delete all matching items in your inventory
5. **Empty cursor + Click** → restore the last trashed item
## 📦 Supported Versions
| Version | Fabric | Forge | NeoForge |
|---------|:------:|:-----:|:--------:|
| 26.1.2 | ✔️ | ✔️ | ✔️ |
| 1.21.4 | ✔️ | — | ✔️ |
| 1.20.1 | ✔️ | ✔️ | — |
## ⚙️ Requirements
**Fabric:** Fabric Loader + Fabric API
**Forge:** Forge 64+
**NeoForge:** NeoForge 4+