Compatibility
Minecraft: Java Edition
1.21.11
Platforms
Supported environments
Client-side
Creators
Details
Licensed MIT
Published 4 months ago
A client-side Fabric mod that prevents you from accidentally breaking your tools and weapons.
When an item in your main hand reaches 1 durability, NoItemBreak blocks any action that would destroy it (attacking, mining, using). A warning message is shown in your action bar.
Features
- š”ļø Blocks attacks, mining and item use when durability is critically low
- āļø Configurable list of protected items
- š¾ Config persists between sessions
- š„ļø In-game config screen (via ModMenu, optional)
- š¬ Commands to manage the list without leaving the game
Configuration
This mod can be configured using either:
- ModMenu (easiest way)
- Slash commands
Via ModMenu
Open Options ā Mods ā NoItemBreak ā Config to manage the list of protected items.
Via commands
/noitembreak add <item_id> ā Add an item (with autocomplete)
/noitembreak remove <item_id> ā Remove an item
/noitembreak list ā Show all protected items
Example:
/noitembreak add minecraft:netherite_sword
Config file
The config is saved at .minecraft/config/noitembreak.json:
{
"enabled": true,
"protectedItems": [
"minecraft:diamond_sword",
"minecraft:netherite_pickaxe"
]
}
Default protected items
All diamond and netherite tools and weapons are protected by default:
diamond_sworddiamond_pickaxediamond_axediamond_shoveldiamond_hoenetherite_swordnetherite_pickaxenetherite_axenetherite_shovelnetherite_hoe

