Destroy Item White List (DIWL)
by ShlakoBlock
Destroy Item White List (DIWL) lets a player lock chosen inventory slots so that the Destroy Items button skips them.
What it does
Pressing the Destroy Items button normally clears items from the inventory. With DIWL, holding Shift while pressing it leaves every selected slot untouched, so protected items stay in place. Protected slots can be chosen with a left-click on layouts that support it, or with the same key that triggers Destroy Items, applied to specific items. Client-side only: only the client needs it, and servers run without it. Requires Fabric API, Mod Menu and YetAnotherConfigLib (YACL). Published for Fabric on 1.20 – 1.21.6 and released under CC0 1.0 Universal.
Key features
Protected slots
Selected inventory slots keep their items when Destroy Items is pressed with Shift held.
Click selection
On supported layouts, a left-click marks a slot as protected.
Custom slot look
The appearance of protected slots can be changed by adding a resource pack.
Gallery
Compatibility
Latest build for each game version and loader.
1.21.x7 of 7 versions with builds
1.20.x7 of 7 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 3
How it compares
ItemSwap is a Fabric mod for 1.20.5 – 1.21.5 under a custom license, and it is not open source. Hotbar Quickswap is open source under CC0 1.0 Universal, but it targets 1.21.10 – 1.21.11.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Destroy Item White List (DIWL) | Fabric | 1.20 – 1.21.6 | Client-side only | 2025-06-18 |
| ItemSwap | Fabric | 1.20.5 – 1.21.5 | Client-side only | 2025-03-25 |
| Hotbar Quickswap | Fabric | 1.21.10 – 1.21.11 | Client-side only | 2025-12-24 |
Questions
Does Destroy Item White List need Fabric API?
Does the server need this mod?
In the catalog
Destroy Item White List (DIWL) is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 13,625 mods support Minecraft 1.21.6.
More from ShlakoBlock
Similar mods
What the author says
Destroy Item White List (DIWL) is a lightweight but handy mod that lets you protect specific slots or items from being removed when using the "Destroy Items" button with Shift held.
Official listing
- Modrinth page
- modrinth.com/mod/destroy-item-white-list
- Owner
- ShlakoBlock
- Published
- 2025-06-01
- Updated on Modrinth
- 2025-06-18
- Facts verified
- 2026-10-15
