VPB 手部动画兼容层
VPB 手部动画兼容层是一个面向客户端的 Fabric 兼容模组,适用于 Vic's Point Blank、Hold My Items 和 Punchy。
它让 Point Blank 及其内容包中的枪械在控制自身的第一人称手部动画的同时,将普通物品交由 Hold My Items 和 Punchy 处理。该模组有意保持功能精简:它不会更改武器机制、伤害、射击/装填逻辑、后坐力、弹药、输入、碰撞或服务器端行为。
修复内容
- 使 VPB 枪械动画优先于 Hold My Items 的第一人称渲染重定向。
- 当 Point Blank 枪械占据主手时,抑制 HMI 的第一人称动作姿态手部模型。
- 通过 Punchy 自身的物品黑名单路径,让 Punchy 对 Point Blank 物品退让。
- 确保非 Point Blank 物品正常使用 HMI 和 Punchy。
- 支持通过常规
pointblank 命名空间白名单使用 Point Blank Blue Archive 内容包枪械。
- 保留通过配置选项可用的可选调试诊断功能。
1.0.0 新增内容
- 项目公开名称更改为 VPB Hand Animation Compatibility Layer。
- 在现有的 Hold My Items 兼容性基础上,加入了 Punchy 兼容性。
- 提供适用于 Minecraft 1.21.11、1.21/1.21.1 以及 1.20.1 的发布版本。
- 首次启动或迁移时,自动填充缺失的配置开关(基于已安装的模组)。
- 同时识别
holdmyitems 和旧版 hold-my-items 模组 ID 以支持 HMI 兼容性。
- 技术模组 ID 仍保持为
vpb_hmi_compat 以确保更新连续性。
兼容性
可用的发布分支:
- Minecraft 1.21.11
- Minecraft 1.21 和 1.21.1
- Minecraft 1.20.1
请根据你使用的 Minecraft 版本选择对应的文件。本模组仅用于客户端,在单人游戏或多玩家客户端中是安全的;服务器端无需安装。
安装方法
将匹配的 vpb-hmi-compat.jar 放入客户端或整合包的 mods 文件夹中,并与 Vic's Point Blank 以及 Hold My Items、Punchy 或两者一起放置在独立的客户端配置文件中。
配置
首次启动客户端时,模组会创建以下配置文件:
config/vpb_hmi_compat.json
如果配置文件或某个兼容性开关缺失,模组会从已安装的模组中自动填充缺失的开关。在后续启动中,它不会覆盖用户已自定义的选择。
若要测试特定物品 ID,可将其添加到 bypassItemIds 中,例如 "pointblank:ba_ariusar"。若要收集诊断信息,可临时将 debugLogging、heldItemLogging 和 mixinLogging 设置为 true。
兼容性说明
- 本模组仅针对 VPB 第一人称手部动画冲突进行优化。
- 它不声称与所有动画模组广泛兼容。
- Fresh Animations、EMF 和 ETF 不在本模组的修复范围内。
许可证
当前及未来的 1.0.0+ 项目代码和公共元数据均为源码可用 / 保留所有权利,除非另有文件声明。此前以 MIT 协议发布的版本不会追溯变更。
官方未修改的构建版本可以包含在整合包中。允许独立开发的兼容模组/插件在通过正常运行时行为交互时使用。复制、修改、移植、重新分发修改后的构建版本、发布分叉版本或基于此代码/资产创建衍生作品均需要获得许可。
鸣谢
由 Swiyss 和 elizinro 创作。
VPB Hand Animation Compatibility Layer
VPB Hand Animation Compatibility Layer is a client-side Fabric compatibility mod for Vic's Point Blank, Hold My Items, and Punchy.
It keeps Point Blank and Point Blank content-pack guns in control of their own first-person hand animations while leaving normal items to Hold My Items and Punchy. The mod is intentionally narrow: it does not change weapon mechanics, damage, fire/reload logic, recoil, ammo, input, collision, or server-side behavior.
What It Fixes
- Lets VPB gun animations take priority over Hold My Items first-person render redirects.
- Suppresses HMI first-person action-pose hands while a Point Blank gun owns the main hand.
- Lets Punchy stand down for Point Blank items through Punchy's own item-blacklist path.
- Keeps non-Point-Blank items using HMI and Punchy normally.
- Supports Point Blank Blue Archive content-pack guns through the normal
pointblank namespace allowlist.
- Keeps optional debug diagnostics available through config.
What's New In 1.0.0
- Public project name changed to VPB Hand Animation Compatibility Layer.
- Punchy compatibility is included beside the existing Hold My Items compatibility.
- Minecraft 1.21.11, 1.21/1.21.1, and 1.20.1 release builds are available.
- Missing config toggles are auto-populated from installed mods on first launch or migration.
holdmyitems and the legacy hold-my-items mod ids are both recognized for HMI compatibility.
- The technical mod id remains
vpb_hmi_compat for update continuity.
Compatibility
Available release lines:
- Minecraft 1.21.11
- Minecraft 1.21 and 1.21.1
- Minecraft 1.20.1
Use the file that matches your Minecraft version. The mod is client-only and is safe for singleplayer or multiplayer clients; it is not required on a server.
Installation
Put the matching vpb-hmi-compat jar into the client or modpack mods folder together with Vic's Point Blank and either Hold My Items, Punchy, or both in separate client profiles.
Configuration
On first client launch, the mod creates:
config/vpb_hmi_compat.json
If the config file or a compatibility toggle is missing, the mod auto-populates the missing toggle from installed mods. It does not overwrite user-defined choices on later launches.
To test a specific item id, add it to bypassItemIds, for example "pointblank:ba_ariusar". To collect diagnostics, temporarily set debugLogging, heldItemLogging, and mixinLogging to true.
Compatibility Notes
- This mod targets VPB first-person hand-animation conflicts only.
- It does not claim broad compatibility with every animation mod.
- Fresh Animations, EMF, and ETF are not patched here.
License
Current and future 1.0.0+ project code and public metadata are source-available / All Rights Reserved unless a file says otherwise. Prior releases that were published under MIT are not retroactively changed.
Official unmodified builds may be included in modpacks. Independent compatibility mods/add-ons are allowed when they interact through normal runtime behavior. Copying, modifying, porting, redistributing altered builds, publishing forks, or creating derivative works from this code/assets requires permission.
Credits
Created by Swiyss and elizinro.
评论 0
登录后参与评分
还没有评论,来抢沙发吧