Raisy
一款功能强大的 Forge 1.12.2 模组,通过运行时字节码注入来偏移 HUD 元素
? 简介
Raisy 允许你使用 ASM 字节码转换来偏移 HUD 元素(快捷栏、生命值、饥饿值等)。与简单的渲染钩子不同,这种方法几乎适用于任何模组的 HUD 元素。
该模组的设计旨在比 Valkyrie 的 MC-67532-fix 功能具有更高的兼容性和更低的破坏性(同时也作为新版 Raised 模组的替代方案之一)
✨ 特性
- 全局偏移 — 一次性移动所有 HUD 元素
- 单元素控制 — 精细调整每个元素的偏移量
- 模组支持 — 通过 JSON 为任意模组的 HUD 元素配置偏移量
- MC-67532 修复 — 修复损坏的快捷栏选中纹理
- 高级注入 — 多种注入点类型(HEAD、RETURN、INVOKE 等)
- 热重载 — 无需重启游戏即可重新加载配置
默认支持的元素
- 快捷栏 (Hotbar)
- 生命值条 (Health Bar)
- 护甲条 (Armor Bar)
- 食物条 (Food Bar)
- 气泡 (Air Bubbles)
- 坐骑生命 (Mount Health)
- 经验条 (Experience Bar)
- 跳跃条 (Jump Bar)
- 工具高亮 (Tool Highlight)
⚙️ 配置
快速设置
通过 Mods → Raisy → Config 访问全局设置,或编辑 config/raisy.cfg
| 选项 |
默认值 |
描述 |
| Enabled |
true |
全局启用 HUD 偏移 |
| Offset X |
0.0 |
水平偏移(像素) |
| Offset Y |
5.0 |
垂直偏移(像素) |
高级配置
单元素设置在 config/raisy_elements.json 中进行配置
? 完整配置文档
⚙️ 分享你的配置或使用其他用户的现成配置
? 命令
| 命令 |
描述 |
/raisy reload |
从文件重新加载配置 |
? 工作原理
Raisy 使用 ASM(字节码操作)在 HUD 渲染方法周围注入 GlStateManager.pushMatrix() / translate() / popMatrix() 调用。这种方法:
- 在渲染发生之前于字节码层面工作
- 与大多数模组兼容且无冲突
- 允许对注入点进行精确控制
Raisy 概览
Raisy
A powerful Forge 1.12.2 mod that shifts HUD elements using runtime bytecode injection
? About
Raisy allows you to offset HUD elements (hotbar, health, hunger, etc.) using ASM bytecode transformation. Unlike simple rendering hooks, this approach works with virtually any mod's HUD elements.
This mod was also designed to be more compatible and less destructive than Valkyrie's MC-67532-fix feature (and partly as an alternative to the Raised mod from newer versions)
✨ Features
- Global Offset — Shift all HUD elements at once
- Per-Element Control — Fine-tune each element individually
- Mod Support — Configure offsets for any mod's HUD elements via JSON
- MC-67532 Fix — Fixes broken hotbar selection texture
- Advanced Injection — Multiple injection point types (HEAD, RETURN, INVOKE, etc.)
- Hot Reload — Reload configuration without restarting the game
Default Supported Elements
- Hotbar
- Health Bar
- Armor Bar
- Food Bar
- Air Bubbles
- Mount Health
- Experience Bar
- Jump Bar
- Tool Highlight
⚙️ Configuration
Quick Setup
Access global settings via Mods → Raisy → Config or edit config/raisy.cfg
| Option |
Default |
Description |
| Enabled |
true |
Enable HUD offset globally |
| Offset X |
0.0 |
Horizontal offset (pixels) |
| Offset Y |
5.0 |
Vertical offset (pixels) |
Advanced Configuration
Per-element settings are configured in config/raisy_elements.json
? Full Configuration Documentation
⚙️ Share your configurations or use ready-made ones from other users
? Commands
| Command |
Description |
/raisy reload |
Reload configuration from files |
? How It Works
Raisy uses ASM (bytecode manipulation) to inject GlStateManager.pushMatrix() / translate() / popMatrix() calls around HUD rendering methods. This approach:
- Works at the bytecode level, before rendering occurs
- Compatible with most mods without conflicts
- Allows precise control over injection points
Raisy in a nutshell
评论 0
登录后参与评分
还没有评论,来抢沙发吧