v3.0.21
Changes
- Removed Dynamic renderers as they are broken and no longer needed.
- Add an optional Waist Bone for armors. (Credit to cleannrooster)
- Added all missing Math functions, currently matching: https://bedrock.dev/docs/1.21.0.0/1.21.120.22/Molang#Math Functions now
Fixes
- Fixes when an invalid animation name is used, the controller/state machine will become stuck and no longer update
v3.0.20
Fixes
- Fixed a crash with context on armors.
v3.0.19
Changes
- Added logger to AutoGlowingTexture if its glow mask doesn't match the base texture size.
- Changes to AzAnimator to add support for stopping the animation timer
- Introduced setRenderEntry in AzRendererConfig.Builder to allow custom rendering logic during the render stage.
- Ported all AzArmor and Item Render related changes/fixes from the main source.
- Removed the need for AzIdentityRegistry#register to be called.
- Added
AzArmorTrimLayer
for rendering armor trims (Credit to ZsoltMolnarrr)- Supports single trim-pattern texture
- Supports per pattern textures (like vanilla)
- Added alpha value to getDefaultRenderType
Fixes
- Fixed an issue where broken JSON files would cause the game to fail to load properly, these are now auto-skipped and logged.
v3.0.19
Changes
- Added logger to AutoGlowingTexture if its glow mask doesn't match the base texture size.
- Changes to AzAnimator to add support for stopping the animation timer
- Introduced setRenderEntry in AzRendererConfig.Builder to allow custom rendering logic during the render stage.
- Ported all AzArmor and Item Render related changes/fixes from the main source.
- Removed the need for AzIdentityRegistry#register to be called.
- Added
AzArmorTrimLayer
for rendering armor trims (Credit to ZsoltMolnarrr)- Supports single trim-pattern texture
- Supports per pattern textures (like vanilla)
- Added alpha value to getDefaultRenderType
Fixes
- Fixed an issue where broken JSON files would cause the game to fail to load properly, these are now auto-skipped and logged.
v3.0.18
Changes
- Added new utility methods in ClientUtils.
- getCurrentAnimationController(); Allows you to get the controller of the animated object.
- getCurrentAnimationTick(); Allows you to get the current tick of the current animation.
- getCurrentAnimationLength(); Allows you to get the length of the current animation.
Fixes
- Fixed an issue where NeoForge would kill itself on packets.
v3.0.17
Changes
- Added an AzCommand create option for setting speed is now easier.
- Added an AzCommand create option that allows you to set how many ticks you'd like to start within the animation. (Ex: I want to start from the 2 second mark so 40 ticks instead of the start of the animation).
Fixes
- Fixed an issue where setting animation speed via AzCommand would not take effect.
v3.0.16
Changes
- Added New Easing Types:
- Bezier Easing: Implements smooth transitions using cubic Bézier curves for precise animation control. Adapted from base code by ZigyTheBird.
- Bezier After Easing: A variation of Bezier easing, applied to animations after a specified point in time.
Fixes
- Fixed an issue where armor did not properly scale to match the scaling of model parts.
Credits
- Special thanks to ZigyTheBird for contributing the foundational concepts and code for Bézier easing.
v3.0.12
- Ports missing animations including feature to 3.x.
- See wiki here for documentation on this feature: https://moddedmc.wiki/en/project/azurelib/docs/misc/animation_includes