Lava Can

Destroy unwanted items by dropping them onto a Lava Bucket. Fire-resistant items and a configurable exclusion list keep your valuables safe.

9

Lava Can

Lava Can

A small inventory utility mod for Minecraft. A Lava Bucket in your hotbar or cursor acts as an instant item destructor — toss unwanted items onto it to burn them away. Fire-resistant items and anything on the configurable exclusion list are always protected from accidental deletion.

---

How it works

Right-click to destroy

Carry any item in your cursor, then right-click it onto a Lava Bucket in your inventory. The item is destroyed instantly in a burst of flame particles.

A player right-clicks a stack of netherrack onto a Lava Bucket in their inventory. The netherrack vanishes instantly in a burst of flame particles.

Hotbar shortcut

If your Lava Bucket sits in hotbar slot N, pressing N while hovering over an item in any inventory screen sends that item straight to the void — no picking it up first.

A player hovers over several stacks of netherrack in their inventory and presses the hotbar key bound to their Lava Bucket. Each item disappears one by one with a flame effect.

Obsidian crafting

Right-click a Obsidian onto a Obsidian to combine them. Both buckets become empty buckets and you receive one Obsidian, marked by a small smoke animation.

A player right-clicks a Water Bucket onto a Lava Bucket. Both buckets are replaced by empty buckets and one Obsidian is added to the inventory, accompanied by a smoke effect.

---

Protected items

Fire-resistant items are never deleted. The mod uses Minecraft's own damage-resistance system, so Netherite gear, Ancient Debris, and any modded item that opts into fire resistance are all automatically protected — no hardcoded lists.

A configurable exclusion list protects additional valuable items from accidental deletion. By default this covers things like Elytra, Tridents, Shulker Boxes, Diamond gear, and other items you generally don't want to lose. See the Configuration section below.

---

Configuration

The config file is created automatically at `config/lavacan.json` on first launch:

```json { "excluded": [ "minecraft:elytra", "minecraft:trident", "minecraft:diamond_sword", "..." ] } ```

- Add an entry to allow that item to be deleted by the Lava Can. - Add any `namespace:item_id` to protect a custom or modded item.

Changes take effect after restarting the game (or the world on a dedicated server).

Note: Mod Menu support is planned. Until then, changes to the config file require a game restart to take effect.

---

Compatibility

The mod hooks into `AbstractContainerMenu.doClick` via a Mixin — a common and stable injection point. Conflicts with other mods targeting the same method are possible but unlikely in practice.

ADS