HMI x VPB 兼容补丁
一款轻量级兼容模组,旨在修复 Hold My Items 与 Vic's Point Blank (VPB) 之间的渲染冲突。
注意: 此版本专为 Minecraft 1.21.11 设计。虽然目前我没有计划支持其他版本,但源码已上传,供任何希望进行反向移植(backport)的人使用。
概述
当两个模组同时激活时,Hold My Items 会覆盖第一人称渲染管线。这会导致 Vic's Point Blank 枪械无法显示其自定义动画,并破坏“瞄准镜下瞄”(ADS)功能。
本补丁通过以下方式解决该问题:
- 检测 玩家是否手持 VPB 武器。
- 绕过 针对这些特定物品的 HMI 动画系统。
- 恢复 VPB 的原生动画和开镜机制。
- 保留 所有其他物品的 HMI 动画效果。
项目详情
- 平台: Fabric
- 运行端: 仅客户端
- 前置要求:
- Minecraft 1.21.11
- Fabric Loader >= v1.18.6
- Hold My Items >= v5.1
- Vic's Point Blank >= v2.0
关于本项目
我最初创建此补丁是为了个人使用,以解决我自己游玩时的模组冲突问题。我决定将其分享在此处,供其他面临相同冲突的玩家使用。
这是我第一个上传至 Modrinth 的模组!我计划发布更多作品,未来可能还会包括其他个人使用的小模组以及/或兼容性补丁!
安装方法
- 确保您已安装 Fabric Loader。
- 将此
.jar 文件放入 mods 文件夹,并与 Hold My Items 和 Vic's Point Blank 一同放置。
- 无需进行其他配置。
HMI x VPB Compatibility Patch
A lightweight patch mod designed to fix the rendering conflict between Hold My Items and Vic's Point Blank (VPB).
Note: This release is specifically for Minecraft 1.21.11. While I do not currently have plans to support other versions, the source code is uploaded for anyone who wishes to backport it.
Overview
When both mods are active, Hold My Items overrides the first-person rendering pipeline. This prevents Vic's Point Blank guns from displaying their custom animations and breaks the Aim Down Sights (ADS) functionality.
This patch fixes that behavior by:
- Detecting when a VPB weapon is held.
- Bypassing the HMI animation system for those specific items.
- Restoring VPB's native animations and scoping mechanics.
- Preserving HMI animations for all other items.
Project Details
- Platform: Fabric
- Side: Client-side only
- Requirements:
- Minecraft 1.21.11
- Fabric Loader >= v1.18.6
- Hold My Items >= v5.1
- Vic's Point Blank >= v2.0
About This Project
I originally created this patch for personal use to fix my own modded experience. I’ve decided to share it here for anyone else facing the same conflict.
This is my first mod uploaded to Modrinth! I plan to release more, possibly also small mods from personal use and / or compatibility patches in the future!
Installation
- Ensure you have the Fabric Loader installed.
- Drop this
.jar into your mods folder along with Hold My Items and Vic's Point Blank.
- No further configuration is required.
评论 0
登录后参与评分
还没有评论,来抢沙发吧