Destroy Item White List (DIWL)

Quick rating

Community listing page, reviews here may not be monitored by the author.

Destroy Item White List (DIWL)

By ShlakoBlock , Danyusha

No reviews yet

Prevents your selected items from being removed via "Destroy Item"

Mod Loaders
Minecraft

About

Description

Destroy Item White List (DIWL)

fabric-api fabric-api

discord-singular

How to use:

  1. Select slots with LMB, holding < ` > (or < ~ > on your keyboard):
    https://github.com/Danrus1100/DestroyItemWhiteList/raw/main/assets/diwl_demo2.gif
  2. Now when you click "Destroy Items" with holding SHIFT, the selected slots remain in place:
    https://github.com/Danrus1100/DestroyItemWhiteList/raw/main/assets/diwl_demo1.gif

How to customize the locked slot texture

add to you texturepack this file:

assets/diwl/textures/gui/sprites/locked.png  

Destroy Item White List (DIWL)

Requires: Fabric API Requires: YACL

Join our Discord

🧱 What does this mod do?

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.


🔧 How to use

  1. Select slots — 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.
Selecting items

Now when you press the "Destroy Items" button while holding Shift, the selected slots or items will be preserved:

Destroying items safely

🎨 Customize the textures

To customize the look of protected slots or items, add the following files to your resource pack:

assets/diwl/textures/gui/sprites/locked.png
assets/diwl/textures/gui/sprites/locked_item.png

⚠️ Default size: 18x18 pixels.


🧩 Try my other mods:

Destroy Item White List Durability Visibility Options Rocket Utils