Warfactory Ultimate Weight
WarFactory Ultimate Weight 是一款多版本 Minecraft 模组,专注于物品重量、移动惩罚与体力系统。
它采用以性能优先的物品栏追踪机制设计,而非许多旧版重量类模组及其前身所使用的暴力全物品栏遍历方式。
该模组基于共享核心构建,并针对各游戏版本提供特定的运行时钩子。目前支持以下版本:
| Minecraft | Loaders |
|---|---|
1.12.2 |
Legacy Forge |
1.20.1 |
Fabric, Forge |
1.21.1 (planned) |
NeoForge, LexForge |
Features
- 可配置的物品与背包重量系统
- HUD 与提示框(tooltip)中的重量显示
- 基于重量的移动与跳跃惩罚
- 硬性锁定阈值,阻止拾取与转移操作
- 从服务器到客户端的配置同步
- 在支持的版本中,基于增量变化的物品栏重量更新
- 体力系统,包含:
totalStamina,staminaLossRate,staminaGainRate - 基于重量的体力消耗惩罚
- 可选的冲刺与跳跃体力消耗
- 嵌套物品栏重量支持
- 模组兼容性补丁及供开发者使用的 API
Supported Mods
Ultimate Weight 会读取来自其他模组存储物品的内容,因此物品的重量会根据其内部所含物品动态调整;同时也会统计额外装备槽位(Baubles / Curios)中穿戴的物品。任何暴露标准 IItemHandler 能力的物品均可自动支持;以下列出的模组则拥有专用的处理逻辑。兼容性补丁仅在目标模组存在时加载,若缺失则安全跳过。
1.12.2
| Mod | Supported |
|---|---|
| Baubles | 计入穿戴的 bauble 物品重量 |
| Traveler's Backpack | 计入穿戴 + 携带的背包内容物 |
| Retro Sophisticated Backpacks | 背包内容物及已安装的升级模块 |
| GregTech (CE Unofficial) | 机器/物品容器内容物 |
| HBM's Nuclear Tech | 储物箱内容物 |
| Storage Drawers | 抽屉内容物 |
Any item with an IItemHandler |
通用计数嵌套内容物 |
1.20.1 (Forge)
| Mod | Supported |
|---|---|
| Curios | 计入穿戴的 curio 物品重量 |
| Sophisticated Backpacks | 计入穿戴(Curios/胸部槽)+ 携带的内容物,支持点击收纳 |
| Traveler's Backpack | 计入穿戴 + 携带的背包内容物 |
| GregTechCEu Modern | 机器容器内容物,包括储物箱 |
| Superb Warfare | 弹药盒(按类型统计弹药数量) |
| Storage Drawers | 抽屉内容物 |
Any item with an IItemHandler |
通用计数嵌套内容物 |
上述补丁所使用的注册表已作为公共 API 开放,其他模组可自行注册自定义的重量提供者。在 1.20.1 Fabric 构建版中,仅计算原版嵌套容器;而针对特定模组的处理程序以及通用的 IItemHandler 读取器目前仅限 Forge 使用。(此限制可能在未来变更)
Configuration
配置文件因版本而异:
1.12.2config/wfweight/weight_config_1_12.yaml1.20.1config/wfweight/weight_config_modern.yaml
完整参考文档:
License
本项目采用 GPLv3 许可证授权。
Warfactory Ultimate Weight
WarFactory Ultimate Weight is a multi-version Minecraft mod focused on inventory weight, movement penalties, and stamina.
It is designed around performance-first inventory tracking rather than the brute-force full inventory iteration used by many older weight mods and predecessors.
It is built around a shared core with version-specific runtime hooks. The mod currently targets:
| Minecraft | Loaders |
|---|---|
1.12.2 |
Legacy Forge |
1.20.1 |
Fabric, Forge |
1.21.1 (planned) |
NeoForge, LexForge |
Features
- Configurable item and inventory weight system
- HUD and tooltip weight display
- Weight-based movement and jump penalties
- Hard-lock threshold for blocking pickups and transfers
- Config sync from server to client
- Delta-based inventory weight updates where supported
- Stamina system with:
totalStamina,staminaLossRate,staminaGainRate - Weight-aware stamina drain penalties
- Optional stamina drain from sprinting and jumping
- Nested inventory weight support
- Mod compatibility patches and API for mod developers
Supported Mods
Ultimate Weight reads the contents of modded storage items so an item's weight scales with what it holds, and counts items worn in extra equipment slots (Baubles / Curios). Any item that exposes a standard item-handler capability is supported automatically; the mods below additionally get dedicated handling for their custom storage. Compatibility patches load only when the target mod is present and are safe when it is absent.
1.12.2
| Mod | Supported |
|---|---|
| Baubles | Worn bauble items counted toward weight |
| Traveler's Backpack | Worn + carried backpack contents |
| Retro Sophisticated Backpacks | Backpack contents and installed upgrades |
| GregTech (CE Unofficial) | Machine / item inventories |
| HBM's Nuclear Tech | Storage crate contents |
| Storage Drawers | Drawer contents |
Any item with an IItemHandler |
Nested contents counted generically |
1.20.1 (Forge)
| Mod | Supported |
|---|---|
| Curios | Worn curio items counted toward weight |
| Sophisticated Backpacks | Worn (Curios/chest) + carried contents, click-to-stash |
| Traveler's Backpack | Worn + carried backpack contents |
| GregTechCEu Modern | Machine inventories, including crates |
| Superb Warfare | Ammo box (per-type ammo counts) |
| Storage Drawers | Drawer contents |
Any item with an IItemHandler |
Nested contents counted generically |
The same registry the patches use is exposed as a public API, so other mods can register their own weight providers. On the 1.20.1 Fabric build, vanilla nested containers are counted, but the mod-specific handlers and the generic item-handler reader above are Forge-only. (Subject to change)
Configuration
Configuration is version-specific:
1.12.2config/wfweight/weight_config_1_12.yaml1.20.1config/wfweight/weight_config_modern.yaml
Full reference:
License
This project is licensed under GPLv3.
下载 Warfactory Ultimate Weight
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Warfactory Ultimate Weight
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Warfactory Ultimate Weight
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Warfactory Ultimate Weight
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Warfactory Ultimate Weight
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Warfactory Ultimate Weight
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Warfactory Ultimate Weight
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Warfactory Ultimate Weight
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Warfactory Ultimate Weight
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Warfactory Ultimate Weight
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
Warfactory: Ultimate Weight 1.2.0
- tacz ammobox (d31e69a)
- ci (531e000)
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧