This is a fabric mod that prevents the player from using an item or tool that is at 1 durability.

How to Install Breakable (Mod)
Breakable by sten-code is verified for Fabric across Minecraft versions 1.20.6, 1.21, 1.21.4 (latest release: 1.1.0, file size: 53 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.6, 1.21, 1.21.4) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded Breakable file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- Only block actions that actually damage the item the player is holding.
- Added a keybind that overwrites the blocking (default:
G)
- Forgot to add attacking enemies, for example hitting an entity with a sword.