这是 Fabric 版本的 Framework,一个 Forge 版本 也提供下载!

? 简介:
Framework 是一个轻量但功能强大的库,旨在增强模组开发并减少常见代码的编写。与其他库不同,Framework 专注于提供强大且易于使用的工具,从而解锁那些原本需要大量代码才能实现的功能。
由于 Fabric 的特性,Framework on Fabric 无法避免使用 Mixins(一种代码注入服务),因此与其他模组共存时可能会出现问题。如果此模组导致其他模组出现问题,请向 问题追踪器 报告。
✨ 特性:
? 开放模型格式
Open Model Format 是对原版 JSON 方块模型格式的扩展。它移除了 22.5° 旋转增量的限制,并允许你创建超出 [-16, 32] 范围限制的模型。
? 同步数据键
同步数据键是对 Minecraft 实体数据访问器系统的改进。它允许你将额外数据附加到任何实体上,而无需编写复杂的 Capability。使用 Framework 的同步数据键的好处在于它提供了强大的功能。正如其名称所示,数据可以自动同步到客户端;这意味着你不必处理数据包。数据可以保存到实体中,以便在世界重载或服务器重启后依然保留。与 Minecraft 的系统不同,Framework 提供了一个选项,允许你的数据在死亡时持久化,而不是重置为其默认值。仍然不确信?查看下面的示例,了解该系统既简单又强大。
一个追踪玩家击打鸡次数的示例

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

?♀️ 需要支持或想关注模组开发:
评论区不太适合提供技术支持,因此 MrCrayfish 建议你加入 Discord 社区。你可以在那里获得关于模组安装与配置的帮助、解决崩溃问题等!此外,你还能第一时间获取模组更新和开发动态(早于其他任何渠道)!点击下方横幅加入 ?
This is the Fabric version of Framework, a Forge version is also available!

? About:
Framework is lightweight but powerful library built to enhance the development of mods and reduce common code. Unlike other libraries, Framework focuses on providing powerful yet easy-to-use tools that unlock features which would otherwise be buried in large amounts of code to acheive the same result.
Due to the nature of Fabric, Framework on Fabric cannot avoid the use of Mixins (a code injection service) and hence may potentially present issues when installed with other mods. If this mod is causing issues with other mods, please do report them to the issue tracker.
✨ Features:
? Open Model Format
Open Model Format is an extension to Vanilla's JSON Block Model format. It removes the restrictions of 22.5 rotation increments and allows you to create models larger than the [-16, 32] limit.
? Synced Data Keys
Synced Data Keys are an improvement of Minecraft's entity data accessor system. It allows you to attach additonal data to any entity without the need of writing a complex capability. The benefit of using Framework's Synced Data Keys is the powerful features it provides. As mentioned by in the name, the data can be automatically synced to clients; this means you don't have to deal with packets. The data can be saved to the entity so it's remembered across world reloads or server restarts. Unlike Minecraft's system, Framework adds an option to allow your data to persist across deaths instead of being reset back to it's default value. Not convinced yet? Check out the example below to see how simple but powerful this system is.
An example of keeping track of how many times a chicken has been hit by players

? Easy Login Packets
Forge has the ability to allow developers to create login packets, however implementing it requires a significant amount of code. Framework condenses the required code into a simple registration method and will handle sending your data to clients.

?♀️ Need Support or Want to Follow Mod Development:
The comment section isn't great for support, which is why MrCrayfish recommends you join the Discord community. You can get help installing and configuring mods, resolving crashes and more! Plus you'll also get access to news about mod updates and development (before anywhere else!). Click the banner below to join ?
下载 Framework (Fabric)
下载 Framework (Fabric)
下载 Framework (Fabric)
下载 Framework (Fabric)
下载 Framework (Fabric)
下载 Framework (Fabric)
下载 Framework (Fabric)
下载 Framework (Fabric)
下载 Framework (Fabric)
下载 Framework (Fabric)
? 内部更改
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
评论 0
登录后参与评分
还没有评论,来抢沙发吧