跳到正文

NoItemBreak

作者:ecourty

A client-side Fabric mod for Minecraft 1.21.11 that prevents you from accidentally breaking your tools and weapons.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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_sword
  • diamond_pickaxe
  • diamond_axe
  • diamond_shovel
  • diamond_hoe
  • netherite_sword
  • netherite_pickaxe
  • netherite_axe
  • netherite_shovel
  • netherite_hoe

常见问题

NoItemBreak 支持哪些 Minecraft 版本?

NoItemBreak 支持 Minecraft Java 版 1.21.11,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

NoItemBreak 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分