Framing Lib
一个轻量级的客户端配置屏幕库,用于创建交互式、可拖动的 HUD 布局屏幕!
? 这是什么模组?
这是一个用于创建可拖动 HUD 布局屏幕的客户端配置屏幕库。
它允许开发者创建具有交互式、可拖动元素的配置屏幕,从而让玩家更容易定位他们的 HUD/GUI 元素。
这并非一个完整的配置 API,它仅用于创建配置屏幕。
基本上,这是为依赖此库工作的其他模组准备的。
以下是一些展示其功能的视觉素材:


一个更实用的示例,移动聊天窗口:

✅ 功能
- 多加载器支持: 完全兼容 Fabric、Quilt、Forge 和 NeoForge
- 玩家直观易用: 允许通过简单地用鼠标拖动来重新定位 HUD/GUI 元素
- 对开发者友好的 API: 使用简单的构建器模式,使得任何 HUD/GUI 模组的集成都变得容易
- 动态对齐: 自动将 HUD/GUI 元素锚定到九个屏幕位置,并支持可选的吸附功能
- 智能重计算: 当 GUI 缩放或窗口大小改变时,自动重新计算 HUD/GUI 的位置
- 轻量且高效: 缓存位置数据,仅在必要时重新计算以节省帧率
- 仅客户端: 仅需安装在客户端,无需服务端支持或安装
- 高度可定制: 支持自定义颜色、图标,甚至可以使用您自己的自定义渲染函数
⚠️ 为了保持灵活性,该库不会自动将布局数据保存到磁盘或从磁盘加载。开发者负责序列化布局对象(转换为 JSON/YAML/INI/您偏好的配置格式),并在游戏初始化时反序列化它。
? 使用方法
? 对于玩家
⚠️️ 这是一个库模组,单独运行没有任何效果。
将 jar 文件放入您的 mods 文件夹即可正常使用!
对于 Fabric 和 Quilt 版本,您可能还需要将 ModMenu 放入您的 mods 文件夹中。
? 对于开发者
开发者文档可在 此处 访问
? 支持版本
| Minecraft | Fabric | Quilt | Forge | NeoForge |
|---|---|---|---|---|
| 26.2 | ⏳ | ⏳ | ⏳ | ⏳ |
| 26.1.2 | ⏳ | ⏳ | ⏳ | ⏳ |
| 26.1.1 | ⏳ | ⏳ | ⏳ | ⏳ |
| 26.1 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.21.11 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.21.10 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.21.9 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.21.8 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.21.7 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.21.6 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.21.5 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.21.4 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.21.3 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.21.2 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.21.1 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.21 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.20.6 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.20.5 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.20.4 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.20.3 | ❌ | ❌ | ❌ | ❌ |
| 1.20.2 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.20.1 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.20 | ⏳ | ⏳ | ⏳ | ❌ |
| 1.19.4 | ✅(1.0.15) | ✅(1.0.15) | ✅(1.0.15) | ❌ |
| 1.19.3 | ✅(1.0.14) | ✅(1.0.14) | ✅(1.0.14) | ❌ |
| 1.19.2 | ✅(1.0.13) | ✅(1.0.13) | ✅(1.0.13) | ❌ |
| 1.19.1 | ✅(1.0.12) | ✅(1.0.12) | ✅(1.0.12) | ❌ |
| 1.19 | ✅(1.0.11) | ✅(1.0.11) | ✅(1.0.11) | ❌ |
| 1.18.2 | ✅(1.0.10) | ✅(1.0.10) | ✅(1.0.10) | ❌ |
| 1.18.1 | ✅(1.0.9) | ✅(1.0.9) | ✅(1.0.9) | ❌ |
| 1.18 | ✅(1.0.8) | ✅(1.0.8) | ✅(1.0.8) | ❌ |
| 1.17.1 | ✅(1.0.7) | ✅(1.0.7) | ✅(1.0.7) | ❌ |
| 1.17 | ❌ | ❌ | ❌ | ❌ |
| 1.16.5 | ✅(1.0.2) | ✅(1.0.2) | ✅(1.0.2) | ❌ |
✅ - 已支持 ⏳ - 计划中 ❌ - 不支持
备注:
- 括号内为最新的模组版本
Framing Lib
A lightweight, client-sided configuration screen library for creating interactive, draggable HUD layout screens!
? What is this mod?
This is a client-side configuration screen library for creating draggable HUD layout screens.
It allows developers to create configuration screens with interactive, draggable elements to make positioning their HUD/GUI elements easier for the player.
This is not a complete configuration API, it is simply for creating configuration screens.
Basically, this is for other mods that rely on it to work.
Here are some visuals to help show what this does:


A more practical example, moving chat around:

✅ Features
- Multi-Loader Support: Fully compatible with Fabric, Quilt, Forge and NeoForge
- Intuitive for Players: Allows repositioning HUD/GUI elements by simply dragging them around with the mouse
- Developer-Friendly API: Uses a simple builder pattern, making integration easy for any HUD/GUI mod
- Dynamic Alignment: Anchors HUD/GUI elements to nine screen positions automatically, with optional snapping
- Smart Recalculation: Recalculates HUD/GUI locations when GUI scale or window size changes
- Lightweight & Performant: Caches and only recalculates positions when necessary to save frames
- Client-Side Only: Installed only on the client, no server-side footprint or installation required
- Extensively Customizable: Supports custom colors, icons, and even using your own custom rendering functions
⚠️ To remain flexible, this library does not automatically save or load layout data to the disk. Developers are responsible for serializing the layout object (into JSON/YAML/INI/your preferred config format) and deserializing it when the game initializes.
? Usage
? For Players
⚠️️ This is a library mod, and does nothing on its own.
Put the jar file in your mods folder and you're good to go!
For Fabric and Quilt version, you probably also need to put ModMenu in your mods folder.
? For Developers
Developer documentation can be accessed here
? Supported Versions
| Minecraft | Fabric | Quilt | Forge | NeoForge |
|---|---|---|---|---|
| 26.2 | ⏳ | ⏳ | ⏳ | ⏳ |
| 26.1.2 | ⏳ | ⏳ | ⏳ | ⏳ |
| 26.1.1 | ⏳ | ⏳ | ⏳ | ⏳ |
| 26.1 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.21.11 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.21.10 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.21.9 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.21.8 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.21.7 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.21.6 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.21.5 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.21.4 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.21.3 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.21.2 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.21.1 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.21 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.20.6 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.20.5 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.20.4 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.20.3 | ❌ | ❌ | ❌ | ❌ |
| 1.20.2 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.20.1 | ⏳ | ⏳ | ⏳ | ⏳ |
| 1.20 | ⏳ | ⏳ | ⏳ | ❌ |
| 1.19.4 | ✅(1.0.15) | ✅(1.0.15) | ✅(1.0.15) | ❌ |
| 1.19.3 | ✅(1.0.14) | ✅(1.0.14) | ✅(1.0.14) | ❌ |
| 1.19.2 | ✅(1.0.13) | ✅(1.0.13) | ✅(1.0.13) | ❌ |
| 1.19.1 | ✅(1.0.12) | ✅(1.0.12) | ✅(1.0.12) | ❌ |
| 1.19 | ✅(1.0.11) | ✅(1.0.11) | ✅(1.0.11) | ❌ |
| 1.18.2 | ✅(1.0.10) | ✅(1.0.10) | ✅(1.0.10) | ❌ |
| 1.18.1 | ✅(1.0.9) | ✅(1.0.9) | ✅(1.0.9) | ❌ |
| 1.18 | ✅(1.0.8) | ✅(1.0.8) | ✅(1.0.8) | ❌ |
| 1.17.1 | ✅(1.0.7) | ✅(1.0.7) | ✅(1.0.7) | ❌ |
| 1.17 | ❌ | ❌ | ❌ | ❌ |
| 1.16.5 | ✅(1.0.2) | ✅(1.0.2) | ✅(1.0.2) | ❌ |
✅ - Supported ⏳ - Planned ⏳ - Not supported
Notes:
- Latest mod version is written in parentheses
下载 FramingLib
下载 FramingLib
下载 FramingLib
下载 FramingLib
下载 FramingLib
下载 FramingLib
下载 FramingLib
下载 FramingLib
下载 FramingLib
下载 FramingLib
1.0.15:
- 支持 Minecraft 1.19.4
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧