这是 Framework 的 Fabric 版本,同时也有 Forge 版本可用!



📙 关于:
Framework 是一个轻量但强大的库,旨在增强模组开发并减少常见代码。与其他库不同,Framework 专注于提供强大且易于使用的工具,解锁那些否则需要大量代码才能实现相同结果的功能。
由于 Fabric 的特性,Framework 在 Fabric 上无法避免使用 Mixins(一种代码注入服务),因此与其他模组一起安装时可能会出现问题。如果此模组导致与其他模组发生问题,请向问题追踪器报告。
✨ 特性:
🚀 开放模型格式
开放模型格式是原版 JSON 方块模型格式的扩展。它移除了 22.5 度旋转增量的限制,并允许你创建超出 [-16, 32] 限制的模型。

🔑 同步数据键
同步数据键是 Minecraft 实体数据访问器系统的改进。它允许你向任何实体附加额外数据,而无需编写复杂的能力系统。使用 Framework 的同步数据键的好处在于它提供的强大功能。正如名称所述,数据可以自动同步到客户端;这意味着你不必处理数据包。数据可以保存到实体,因此可以在世界重新加载或服务器重启后保留。与 Minecraft 的系统不同,Framework 添加了一个选项,允许你的数据在死亡后持续存在,而不是重置为默认值。还没被说服?查看下面的示例,了解这个系统多么简单而强大。
一个记录鸡被玩家击中次数的示例

📦 简易登录数据包
Forge 有能力允许开发者创建登录数据包,但实现它需要大量代码。Framework 将所需代码浓缩为一个简单的注册方法,并会处理将你的数据发送到客户端。

🙋♀️ 需要支持或想关注模组开发:
评论区不太适合寻求支持,因此 MrCrayfish 建议你加入

Discord 社区。你可以获得安装和配置模组、解决崩溃等方面的帮助!此外,你还可以在其他任何地方之前获取模组更新和开发新闻(抢先一步!)。点击下方横幅加入 🔽

如何安装 Framework (Fabric)
With Millida Launcher
Install Millida Launcher
The launcher is free: download it at millida.net/launcher and sign in with any nickname.
Click “Install” on this page
The launcher opens and installs the mod for Minecraft 1.20.1 on Fabric automatically.
Launch the game
A profile with it appears in the launcher: click “Play”.
Manually
Install Fabric
The loader must match the game version of the mod file, for example Minecraft 1.20.1. After installing it, a separate profile appears in your launcher.
Download the file for your version
In the version list above, pick the file framework-fabric-1.20.1-0.6.16.jar (1.3 MB) for your game version.
Put it in the mods folder
The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.
Launch the loader profile
Open “Mods” in the main menu: Framework (Fabric) should be in the list.
Minecraft 1.20.1 runs on Java 17: with a different Java version the game may close right after launch.
版本
含依赖项
| Minecraft | 加载器 | 文件 | 日期 | 操作 |
|---|---|---|---|---|
| 1.20.1 | Fabric | Framework 0.6.161.3 MB 36 |
评价
成为第一个评价 Framework (Fabric) 的人

