Destroy Item White List (DIWL)
Prevents your selected items from being removed via "Destroy Item"
Destroy Item White List (DIWL)
Destroy Item White List (DIWL)
<p align="center"> <a href="https://modrinth.com/mod/fabric-api"> <img alt="Requires: Fabric API" height="56" src="https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/requires/fabric-api_vector.svg"> </a> <a href="https://modrinth.com/mod/yacl"> <img alt="Requires: YACL" height="56" src="https://raw.githubusercontent.com/Danrus1100/durability_visibility_options/refs/heads/dev/assets/YACL.svg"> </a> </p>
<p align="center"> <a href="https://discord.gg/sBpHZUBebQ"> <img alt="Join our Discord" height="40" src="https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/compact/social/discord-singular_vector.svg"> </a> </p>
🧱 What does this mod do?
protect specific slots or items 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.
---
🔧 How to use
1. Select items — hold `< ~ >` (or < `` > on some layouts) and left-click to select slots. 2. Select items — hold the same key and right-click to select specific items.
<img src="https://github.com/Danrus1100/DestroyItemWhiteList/raw/main/assets/diwl_demo2.gif" alt="Selecting items" />
Now when you press the "Destroy Items" button while holding `Shift`, the selected slots or items will be preserved:
<img src="https://github.com/Danrus1100/DestroyItemWhiteList/raw/main/assets/diwl_demo1.gif" alt="Destroying items safely" />
---
🎨 Customize the textures
To customize the look of protected slots or items, add the following files to your resource pack:
```plaintext assets/diwl/textures/gui/sprites/locked.png assets/diwl/textures/gui/sprites/locked_item.png ````
> ⚠️ Default size: 18x18 pixels.
---
🧩 Try my other mods:
<p> <a href="https://modrinth.com/mod/destroy-item-white-list" target="_blank"> <img src="https://cdn.modrinth.com/data/cached_images/a6dae3716505b7221af13b6f5f4aae1bcb71e028.png" alt="Destroy Item White List" width="287"/> </a> <a href="https://modrinth.com/mod/durability_visibility_options" target="_blank"> <img src="https://cdn.modrinth.com/data/cached_images/8cae1332efddc92a0b627301f69521af24d1f934.png" alt="Durability Visibility Options" width="319"/> </a> <a href="https://modrinth.com/mod/rocket-utils" target="_blank"> <img src="https://cdn.modrinth.com/data/cached_images/4c7829b3b82784717731ef0ef50d9c5ec89471cf.png" alt="Rocket Utils" width="223"/> </a> </p>