跳到正文

Durability Config

作者:joxer021

A simple datapack that allows you to set custom durability values for Minecraft tools using commands.

收藏

介绍

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

How to Set Durability:

To set the durability of a specific tool, use the following command:

/data modify storage <target> max_damage set value <value>

Copper Axe Example:

/data modify storage minecraft:copper_axe max_damage set value 256

Quick Configs:

To give all tools of a specific tier the same durability, use “tier/tool” as the target:

Golden Tier Tools Example:

/data modify storage golden/tool max_damage set value 320

Notes:

  • Changes are applied when the inventory is updated.
  • Changes are not applied to players in Creative Mode due to a known issue.
  • Currently, only tiered tools are supported.

常见问题

Durability Config 支持哪些 Minecraft 版本?

Durability Config 支持 Minecraft Java 版 1.21.9–26.2,共 7 个版本。下载时注意选择和你游戏版本一致的文件。

Durability Config 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

joxer021 的其他作品

查看全部 →