AzureLib 是一个用于 Minecraft 模组的动画与渲染引擎。它最初是 GeckoLib 4.x 的一个分支,随后已发展成为一个独立的库,拥有重写的渲染管线、扩展的 Molang 运行时、逐骨骼碰撞盒、程序化动画工具以及专属的 Blockbench 插件。如果你在某个整合包中见过某种生物爬行、扑击、破土而出或挥舞出具有真实重量的武器,那么很有可能是 AzureLib 在为其提供动画支持。
玩家: 你不需要对这个模组进行任何操作。如果你使用的某个模组需要它,安装即可。
功能特性
动画
- 来自 Blockbench 的关键帧动画:支持对实体、物品、盔甲和方块实体的任意骨骼进行旋转、位移和缩放。
- 30+ 种缓动函数及逐关键帧插值。

缓动可视化由 noisecrime 提供
- 同时使用多个控制器:可以同时运行行走循环、攻击动作和头部注视,且互不冲突。
- 声音、粒子与自定义事件关键帧:在动画的精确时刻触发特效和你的自定义代码。
- Molang 支持向基岩版看齐:支持字符串、数组、
for_each、this 以及众多额外的实体查询。
程序化与游戏性工具
- 多碰撞盒系统:为跟随动画模型移动的骨骼定义碰撞盒,这样长尾巴或钻地 worm 就能在其实际位置被击中。

- 骨骼变换与程序化姿态 API:基于关键帧动画之上通过代码驱动骨骼,包括反向运动学 (IK) 和骨骼约束、弹簧骨骼次级运动、骨骼插槽/附件,以及 1D/2D 混合空间。

- 与 Morph 模组兼容:支持 Walkers 和 ReMorphed,使变形后的玩家能够播放你的生物的动画。
性能优化
- 减少动画管线中的逐帧分配和对象池开销。
- 针对长动画采用二分查找关键帧。
- 可选的骨骼与动画 LOD(细节层次)以保持拥挤场景的流畅度(按渲染器单独启用)。
工具链
使用 AzureLib 制作的模组
以下是一些使用 AzureLib 的模组(更多请查看画廊标签页):
在你的模组中使用 AzureLib?请在 Discord 上告知我,我会将其添加到此列表中。
支持的版本
| Minecraft |
Loaders |
AzureLib |
| 26.3 |
NeoForge / Fabric |
4.1.x |
| 1.21.1 |
NeoForge / Fabric |
3.2.x |
| 1.20.1 |
Forge / Fabric |
3.2.x |
| 1.18.2 |
Forge / Fabric |
3.3.x |
| 1.12.2 |
Forge |
1.1.x |
| 1.7.10 |
Forge |
1.1.x |
| Beta 1.7.3 |
Babric / Ornithe |
1.1.x |
面向开发者
每个加载器的完整设置指南,以及关于实体、物品、盔甲和方块实体的教程和从 GeckoLib 迁移的说明,请参阅 AzureLib wiki。
支持: AzureLib 由个人独立维护。欢迎在 Discord 或 问题追踪器 上提问和报告 bug,但我只提供关于 AzureLib 的支持,不提供 GeckoLib 的支持。
需要和朋友一起玩的服务端?从 BisectHosting 租用即开即用的服务器吧!

选择一个套餐(4GB 或以上),并使用代码 azuredoom 享受首月 25% 的折扣。
AzureLib is an animation and rendering engine for Minecraft mods. It started as a fork of GeckoLib 4.x and has since grown into its own library, with a reworked rendering pipeline, an extended Molang runtime, per-bone hitboxes, procedural animation tools and its own Blockbench plugin. If you've seen a creature in a modpack that crawls, lunges, bursts out of the ground or swings a weapon with real weight, there's a good chance AzureLib is animating it.
Players: you don't need to do anything with this mod. Install it if a mod you use requires it.
Features
Animation
- Keyframe animation from Blockbench: rotation, position and scale on any bone, for entities, items, armor and block entities.
- 30+ easing functions plus per-keyframe interpolation.

Easing visualization by noisecrime
- Multiple controllers at once: run a walk cycle, an attack and a head-look together without them fighting each other.
- Sound, particle and custom event keyframes: trigger effects and your own code at exact moments in an animation.
- Molang support extended toward Bedrock parity: strings, arrays,
for_each, this, and many additional entity queries.
Procedural & Gameplay Tools
- Multi-hitbox system: define hitboxes per bone that follow your animated model, so a long tail or a burrowing worm can be hit where it actually is.

- Bone transform & procedural pose API: drive bones from code on top of keyframed animation, including IK and bone constraints, spring-bone secondary motion, bone sockets/attachments, and 1D/2D blend spaces.

- Morph mod compatibility with Walkers and ReMorphed, so morphed players play your mob's animations.
Performance
- Reduced per-frame allocations and object pooling in the animation pipeline.
- Binary-search keyframe lookup for long animations.
- Optional bone and animation LOD to keep crowded scenes smooth (opt-in per renderer).
Tooling
Made with AzureLib
A few of the mods using AzureLib (see the Gallery tab for more):
Using AzureLib in your mod? Let me know on Discord and I'll add it here.
Supported Versions
| Minecraft |
Loaders |
AzureLib |
| 26.3 |
NeoForge / Fabric |
4.1.x |
| 1.21.1 |
NeoForge / Fabric |
3.2.x |
| 1.20.1 |
Forge / Fabric |
3.2.x |
| 1.18.2 |
Forge / Fabric |
3.3.x |
| 1.12.2 |
Forge |
1.1.x |
| 1.7.10 |
Forge |
1.1.x |
| Beta 1.7.3 |
Babric / Ornithe |
1.1.x |
For Developers
Full setup for each loader, plus guides for entities, items, armor and block entities and migrating from GeckoLib, is on the AzureLib wiki.
Support: AzureLib is maintained independently. Questions and bug reports are welcome on Discord or the issue tracker, but I can only help with AzureLib, not GeckoLib.
Need a server to play with friends? Rent a ready-to-go server from BisectHosting!

Pick a plan (4GB or more) and use code azuredoom for 25% off your first month.
评论 0
登录后参与评分
还没有评论,来抢沙发吧