**Full Changelog**: [Here](https://github.com/AzusaKe/Halo/compare/v1.1.1...v1.2.0)
---
- Added `glow` and `alpha` properties to the animation system, along with `inherit_glow` and `inherit_alpha` fields to control whether the current group inherits attributes from its parent node.
- Fixed issues with the transition between startup/shutdown animations and persistent animations; enabled seamless chaining between startup and shutdown animations (e.g., triggering "/halo hide" during the startup animation).
- Added `rotation` support to transition animations, controlled via `from`, `to`, `degrees`, `easing`, and `duration` parameters.
- Added a `face_camera` field to billboard primitives to ensure they always face the camera.
- Refactored the anchor point algorithm, upgrading it from 5DOF to 6DOF.
- Exposed an API allowing other mods to register and provide halo anchors, enabling them to take over halo rendering for specific UUIDs or entity types (see `docs/*/API.md` for details).
- Rewrote player halo rendering using the aforementioned API; halos are now precisely locked to the player's head.
---
- 将发光强度(glow)和透明度(alpha)引入动画系统,同时引入inherit_glow和inherit_glow字段,用于控制当前组是否继承父节点属性
- 修复过渡动画和常驻动画衔接不畅的问题,并让启动动画与结束动画可以衔接(在启动动画过程中/halo hide)
- 将旋转(rotation)引入过渡动画,使用from、to、degrees、easing、duration控制
- 为billboard图元(primitive)增加字段face_camera,使其面向摄像机
- 重整锚点算法,由5DOF变为6DOF
- 开放API,允许其他模组注册和提供光环锚点,以此来接管特定uuid/实体类型的光环渲染,详见docs/*/API.md
- 利用上述API重写玩家光环渲染,现在光环精确的锁定在玩家头部
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }