Block Durability
A Minecraft mod that allows you to customize block durability, supporting both individual blocks and region settings, with visualization features.
截图
介绍
Block Durability
A Minecraft mod that allows you to customize block durability, supporting both individual blocks and region settings, with visualization features.
Some code generated by AI
Features
- Custom block durability settings
- Set blocks to be unbreakable
- Support for individual block and batch region settings
- WorldEdit selection integration
- Visual highlighting of blocks with custom durability
- Rich client-side configuration options
Dependencies
- Required: Minecraft 1.20.1 Forge 47.4.10+
- Optional: WorldEdit Forge (CurseForge|Modrinth) (for selection integration)
- Server and client side
Commands
All commands require OP level 2 permission.
Basic Commands
Single Block Settings
- Set durability for a specific block coordinate. Durability of -1 means unbreakable
/bd set <x> <y> <z> <durability>
- Remove custom durability settings for a specific block coordinate, restoring vanilla properties
/bd remove <x> <y> <z>
- View durability settings for a specific block coordinate
/bd get <x> <y> <z>
Region Settings
- Set durability for all blocks between two diagonal coordinates
/bd set <pos1> <pos2> <durability>
- Remove custom durability settings for all blocks between two diagonal coordinates
/bd remove <pos1> <pos2>
WorldEdit Integration
Requires WorldEdit Forge mod to be installed.
- Set block durability using WorldEdit selection
/bd we set <durability>
- Remove custom durability settings for all blocks in WorldEdit selection
/bd we remove
Visualization Settings
- Toggle block protection visualization on/off
/bd visual toggle <true|false>
- Set visualization render range (1-64 blocks)
/bd visual range <range>
- Toggle whether to show visualization only when holding a stick
/bd visual stick <true|false>
Usage Examples
Set a Single Block to Unbreakable
/bd set 100 64 200 -1
Set Region Durability to 10
/bd set 100 64 200 150 70 250 10
Using WorldEdit Selection
- Create a selection using WorldEdit selection tools
- Set blocks in selection to unbreakable:
/bd we set -1
- Remove custom durability from blocks in selection:
/bd we remove
FAQ
Q: Command shows “An unexpected error occurred”?
A: Please ensure:
- You have OP permission (level 2 or higher)
- If using WorldEdit commands, you have created a proper selection
- WorldEdit Forge mod is installed
Q: Block durability settings have no effect?
A: Currently only works for unbreakable blocks (durability -1)
Known Issues
- Border rendering feature not yet implemented
- Custom break speed for non-unbreakable blocks not yet implemented
Support
For questions or suggestions, please contact the author or submit an Issue.
常见问题
Block Durability 支持哪些 Minecraft 版本?
Block Durability 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Block Durability 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
评论
登录后评论和评分