Broken Tools Reborn
Adds a small repair system that prevents vanilla tools from completely disappearing when they break.
Screenshots





Description
Repairing Broken Tools
Instead of being deleted, broken tools are replaced with damaged versions that can be repaired and used again.
To repair a broken tool, sneak and interact with an Anvil while holding the broken item. The required repair material must be present in your inventory.
Notes
Enchantments are preserved.
Custom names are preserved.
Repairing a tool restores it to full durability.
Repairing consumes XP.
Images
Changelog
[1.3.0]
Added
Shield is now fully supported by the Broken Tools Reborn system — it can break from durability loss and be repaired at an anvil, just like other tools and armor.
Dedicated per-tick durability check for items that don't reliably trigger the usual breakage events. Currently used for shields, since a shield that fully blocks a hit (0 damage taken) doesn't fire events like
entityHurt/itemStopUsethat normally trigger the check.Multi-container tracking: the system now remembers several of the player's most recently interacted containers (chest, barrel, etc. — up to 5), instead of just one, so an item moved between multiple containers is still detected correctly.
Ender chest support: ender chest contents are now checked via the player's own ender inventory component.
Automatic grace period when a player opens an anvil, preventing an item sitting in the anvil's temporary slot from being wrongly detected as broken.
Changed
- Updated/improved the axe and hoe textures.
Fixed
Items could get duplicated when moved into an ender chest or an anvil, since neither has a container that can be inspected the same way a normal chest can.
Items could get duplicated if moved into one container, closed, and then the player interacted with a different container before anything else triggered a recheck — the system previously only remembered the single most recent container, causing the first one to be "forgotten."