盔甲负重
需要 Cloth Config
Armour Weight 是一个高度可配置的实用/游戏机制模组。过去玩家身穿全套下界合金装备上战场的做法,现已被一个更优秀的系统所取代,该系统优先支持独特的盔甲搭配。现在玩家必须考虑其盔甲的重量:重型盔甲能提供更高的防御力,但代价是大幅降低速度。

开发者
Armour Weight 拥有 API! 请参阅 Wiki 获取文档
这允许你_只需 两行代码_ 即可轻松为你的模组盔甲添加自定义重量定义。(下方为简短代码片段)
public static armourWeightDef exampledef = new armourWeightDef(armourType.CHEST,1f,Example_Chestplate); // 为我们的示例胸甲定义重量
@Override
public void onInitialize() {
WeightUtil.addElement(exampledef); // 注册我们的盔甲
}
Armour Weight 还支持数据包 (1.4 及以上版本),让你无需任何编程知识即可轻松定义重量!
在 data/armourweight/weightdata/[任意名称].json 中...
{
"id_namespace": "your_mod_id",
"id_path": "your_item_name",
"weight": PUT_NUMBER_HERE,
"type": "type_here"
}
id_namespace - 你的模组 ID 的命名空间(即 minecraft:dirt 中的 minecraft)
id_path - 你的模组的物品路径名(即 minecraft:dirt 中的 dirt)
weight - 物品的重量值(允许使用小数)。
type - 盔甲的类型。可以是:boots(靴子)、head(头盔)、chest(胸甲)、leggings(护腿)。其他任何值将被视为 other(其他)。
请注意,如果 Armour Weight 认为某个重量值无效或不存在,它会自动生成重量值,因此请确保实际使用的是你自己的重量值。
整合包
你完全可以将此模组打包到你的整合包中!
计划中的功能
- Trinkets 支持
- 更稳健的配置设置
Armour Weight
Requires cloth config
Armour Weight is a very configurable utility/game mechanics mod. Where players used to go into battle with full netherite has now been replaced with a much better system that prioritizes unique armour layouts. Players will now have to account for the weight of their armour, with heavy armour offering better defence at the cost of lots of speed.

Developers
Armour Weight has an API! see wiki for documentation
This allows you to easily add your own weight definitions for your modded armour in just 2 lines of code. (smaller code snippet below)
public static armourWeightDef exampledef = new armourWeightDef(armourType.CHEST,1f,Example_Chestplate); // define the weight for our example chestplate
@Override
public void onInitialize() {
WeightUtil.addElement(exampledef); // register our armour
}
Armour Weight also has datapack support (1.4 and up), allowing you to define weight easily with zero programming knowledge!
In data/armourweight/weightdata/[any name].json...
{
"id_namespace": "your_mod_id",
"id_path": "your_item_name",
"weight": PUT_NUMBER_HERE,
"type": "type_here"
}
id_namespace - your mod id's namespace, (i.e. the minecraft in minecraft:dirt )
id_path - your mod's path name (i.e. the dirt in minecraft:dirt)
weight - how much your item weighs (decimal values allowed).
type - what type your armour is. Can be: boots,head,chest,leggings. Anything else will be treated as other.
please note that Armour Weight will generate weights automatically if it thinks a weight value is broken/doesn't exist, so make sure it's actually using YOUR weight value.
Modpacks
You are 100% allowed to bundle this into your Modpacks!
planned features
- Trinkets support
- a much more robust config setup.
下载 Armour Weight
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Armour Weight
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Armour Weight
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Armour Weight
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Armour Weight
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Armour Weight
下载 Armour Weight
下载 Armour Weight
下载 Armour Weight
盔甲重量 1.7
在 Armour Weight 沉寂了很长时间之后,我带着更新回来了。(万岁!)
有什么变化?
小改动:
- 重新加入了“盔甲重量”条,并为其添加了独立的纹理。
- 使重量条根据玩家拥有的饱和度/生命值向上移动。
主要改动:
- 为使用 Armour Weight 功能的数据包新增了一套全新的系统。通过创建类似以下路径的文件:
data/armourweight/functions/your_item_name.mcfunction,你可以让一个函数在物品装备的每个刻(tick)运行,并利用 CalculateWeight 命令的整数输出,来追踪玩家及其装备的重量。此函数以玩家身份执行。
借助此功能,你可以实现特定装备在不同重量下触发各种效果,以及实施超出我原本设计意图范围的交互。如果你需要额外的配置选项,也可以尝试使用 Java API!
由于该功能 API 的限制,1.20.2 及更低版本将不再支持。
如果你在 GitHub 的问题跟踪器或讨论区遇到任何问题、有新想法,或者想分享你制作的数据包,请随时告诉我!
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
评论 0
登录后参与评分
还没有评论,来抢沙发吧