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.
Features
- Automatic config screens for mods using Kaleido Config, optionally using YACL or Cloth Config for nicer looking screens with larger feature sets.
- Registration utilities.
- Universal entrypoints for block/item registration.
- Alternatively, a lightweight deferred registration implementation for easily porting mods away from Forge.
- Universal interface for retrieving an object's
Identifier.
- Multiversion-friendly block and item tag data generators.
- Common code-friendly implementation of the Fabric/NeoForge conventional tags.
- Event dispatcher system for safely dispatching multiloader/multiversioned events.
Why?
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.Asphodel API has already allowed:
- Cross-version registration, data generation, and rendering utilities, making individual mod files more likely to work across versions and loaders and vastly removing the amount of code I'm copying between mods. Permanent Paintings is already using Asphodel API to work as a universal JAR for both loaders, and my Fabric port of Cultural Delights bundles Asphodel API as it simplifies porting mods away from Forge.
- Automatic config screens for mods using Kaleido Config, including nearly all of my mods and quite a few others. While McQoy is still recommended as it has some additional features like support for maps, Asphodel API's implementation supports YACL, Cloth Config, and even a basic vanilla settings page in a single JAR, and is available for 26.2+
- Unified accessory mod support for Immersive Overlays and Immersive Minimaps, even allowing the Fabric-only Immersive Minimaps to use Curios when paired with Connector, and allowing new integrations to benefit both mods.
Credits
Common tag classes are based on the implementation in Fabric API, used under Apache 2.0 License.
你是这个资源的作者?登录后可认领此资源。
相似资源
一个用于收集生物掉落物的多区块模组。
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
查看物品与配方
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
适用于 MC 1.18+ 的 Effekseer 加载器
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧