Asphodel API
Asphodel API 是一个由 Cassian 设计的多加载器/多版本 API,旨在简化其模组的长期维护工作。
Asphodel API 本身不包含任何内容。仅当某个模组依赖它时才应安装该 API,包括以下这些模组。
是的,这又是一个以模组作者名字命名的库。我目前参与了超过 50 个模组的开发,这些模组跨越多个版本。而我贡献代码的每一个库都会停止维护我需要支持的老版本,或者不支持快照版。拥有一个公开发布版本后,使用通用 JAR 包的模组就可以依赖 Asphodel API,而不必上传两个内容几乎完全相同的 JAR 包,同时也允许用户直接更新该模组。
特性
- 简化的方块/物品注册流程。
- 获取对象
Identifier的统一接口。 - 轻量级的延迟注册实现,便于将模组从 Forge 移植过来。
- 对多版本友好的方块和物品标签数据生成器。
- 兼容常见代码的通用标签实现。
- 用于检测容器内物品及饰品模组的 API,详见 Immersive Overlays 和 Immersive Minimaps。
致谢
通用标签类基于 Fabric API 中的实现,在 Apache 2.0 许可下使用。
Asphodel API
Asphodel API is a multiloader/multiversion API designed by Cassian to simplify long-term maintenance of their mods.
Asphodel API does not contain any content on its own. It should only be installed if you have a mod that depends on it, including any of these mods.
Yes, this is another moddername library. I work on over 50 mods at this point spread across a variety of versions, and every library I contribute code to keeps discontinuing versions I have to maintain or isn't available for snapshots. Having a published version allows for my mods that use universal JARs to depend on Asphodel API rather than have to unnecessarily upload two JARs with otherwise identical content, and allows users to update the mod directly.
Features
- Simplified block/item registration.
- Universal interface for retrieving an object's
Identifier. - A lightweight deferred registration implementation for easily porting mods away from Forge.
- Multiversion-friendly block and item tag data generators.
- Common code-friendly implementation of the common tags.
- APIs for detecting items in containers and accessory mods, see Immersive Overlays and Immersive Minimaps.
Credits
Common tag classes are based on the implementation in Fabric API, used under Apache 2.0 License.
下载 Asphodel API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Asphodel API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Asphodel API
下载 Asphodel API
下载 Asphodel API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Asphodel API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Asphodel API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Asphodel API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Asphodel API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Asphodel API
新增
EventDispatcher类,其中包含对 Fabric 和 NeoForge 事件的通用且多版本兼容的解读。- 创造模式标签页放置事件。
- 配方同步事件。
- 对
SimpleParticleType和HeartType添加了传递性访问宽限器(access wideners)。
新增
- 支持 26.4-snapshot-8。
修复
- 1.20.1 Fabric 版本现可兼容 Java 17。
新增
- 延迟持有者现在可以接受回调,这些回调将在其值注册时执行。
新增
- 延迟持有者现在可以接受回调,这些回调将在其值注册时执行。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
一个基于构建器的 Minecraft 配置库!
评论 0
登录后参与评分
还没有评论,来抢沙发吧