锤子是一种在 3x3 平面内破坏方块的工具。它是一种特殊类型的镐,因此仅用于可被镐破坏的方块。
锤子拥有所有工具等级:木质、石质、铁质、金质、钻石质和下界合金质。
演示
特性
- 可解锁配方
- 可制作、修复、附魔及通过锻造台升级
- 遵循耐久、fortune(幸运)和精准采集附魔效果
- 对所有受影响的方块显示破坏动画
- 可配置的游戏数值(例如饥饿消耗率、方块硬度范围)
- 可切换的系统,用于限制锤子的效率等级以实现游戏平衡(默认禁用)
- 无需权限管理*
- 管理员命令以给予玩家锤子(/givehammer)
- 可通过 CustomModelData 轻松重新纹理化——值可在配置文件中编辑以防止冲突
配方

上述配方适用于钻石锤子,但除下界合金外,所有等级的锤子均采用相同模式。
下界合金锤子由钻石锤子升级而来,与原版工具类似。
安装
-
只需将 JAR 文件放入插件文件夹即可使用!无需安装任何依赖项。
-
使用 /plugins 验证插件是否正确添加(可选)
权限
要使用 /givehammer 命令,玩家必须拥有以下权限节点:hammer.givehammer
脚注
本插件灵感来源于 Tinker's Construct 模组,但与其及其创作者无任何关联。
*所有玩家均可制作和使用锤子,无需任何权限。仅给予命令需要权限。
A hammer is a tool that breaks blocks in a 3x3 plane. It is a special type of pickaxe, so it is used on pickaxe-breakable blocks.
There is a hammer for every tool tier: wooden, stone, iron, golden, diamond, and netherite.
Demo
Features
- Unlockable recipes
- Craftable, repairable, enchantable, and smith-able
- Respects Unbreaking, Fortune, and Silk Touch enchantments
- Displays breaking animation for all affected blocks
- Configurable gameplay values (e.g. hunger rate, block hardness range)
- Toggleable system to limit Efficiency level on Hammers for game balance (disabled by default)
- No permissions management required*
- Admin command to give players hammers (/givehammer)
- Can be easily retextured using CustomModelData -- values are editable in the config to prevent conflicts
Recipe

The recipe shown above is for the diamond hammer, but the pattern is the same for every tier of hammers except Netherite.
Netherite hammers are upgraded from diamond hammers, just like Vanilla tools.
Installation
-
Simply drop the JAR file into your plugins folder and you should be good to go! There are no dependencies you have to install.
-
Verify that the plugin was added properly with /plugins (optional)
Permissions
To use the /givehammer command, the player must have the permission node: hammer.givehammer
Footnotes
This plugin is inspired by but in no way affiliated with the Tinker's Construct mod or its creator(s).
*All players can craft and use hammers with no permissions required. Only the give command requires permission.
评论 0
登录后参与评分
还没有评论,来抢沙发吧