azurelib-fabric-1.21.1-3.2.10.jar
Curse Maven Snippet
What's new
v3.2.10
Additions
- Added solid and platform colliders for bone hitboxes.
AzHitbox.Builder#platform()makes a hitbox something entities can stand on from above and pass through from below or the sides (like the Happy Ghast), andAzHitbox.Builder#solid()makes it block movement from every side. Entities standing on a collider are carried and turned with it when it moves, so animated lifts, elevators, turntables and moving platforms work. Sneaking stops players at a collider's edge, and players standing on one are not kicked for flying. - Added the
azurelib:clip_uvsmodel description flag. When set totrue, the part of a cube face whose UVs reach past the texture's declared size is cut away when the model is baked, and faces mapped entirely outside the texture are dropped. This removes the faded black area those faces otherwise render and matches Blockbench. Models without the flag keep the existing behavior. - Added
AzEmissiveMapLayerto support variable-intensity emission using grayscale_emissive.pngtextures. Black pixels produce no emission, white pixels produce full emission, and intermediate grayscale values produce partial emission without modifying the original base texture. - Added support for animated emissive maps, including smooth intensity interpolation using the base texture's
.mcmetaanimation metadata. - Added
withTexture(ResourceLocation)andwithTexture(Function)toAzAutoGlowingLayerandAzEmissiveMapLayer, allowing developers to specify fixed or dynamically selected texture locations instead of relying on the default texture suffixes. - Added support for multiple independent glow and emissive-map layers on a single renderer, each with its own texture, color tint, emission intensity, and animation state.
- Added support for conditionally disabling individual glow and emissive-map layers by returning
nullfrom their texture provider.
Fixes
- Fixed animated textures using repeated frame indices or variable frame durations calculating incorrect animation timing and interpolation targets.
- Fixed forced texture uploads resetting interpolated animations to their non-interpolated frame.
- Fixed invalid animation frame indices and durations not being removed before constructing the animation, which could result in invalid pixel access or division by zero.
- Fixed stale emissive-map attachments potentially uploading outdated texture data following a resource reload.
Changes
- Custom textures supplied to
AzAutoGlowingLayerare rendered directly as colored RGBA overlays without modifying the original base texture. - Custom textures supplied to
AzEmissiveMapLayerare processed as grayscale intensity maps, with emission colors inherited from the base texture. - Existing
_glowmask.pngbehavior and automatic texture resolution remain unchanged.
Developer Notes
AzHitboxhas a newcollidercomponent (AzHitboxCollider.NONE,SOLIDorPLATFORM, defaultNONE). The previous 13-argument constructor is kept and defaults toNONE.AzHitboxHolder#canCollideWithHitbox(hitbox, entity)chooses which entities a collider applies to, andAzHitboxHolder#shouldRotateHitboxRiders(hitbox)turns rider rotation off. Colliders use the world-axis bounds of the hitbox, so a tilted hitbox collides as the box that encloses it.ModelPropertieshas a newclipUvscomponent. The previous 17-argument constructor is kept and defaults tonull(off).AzBakedModelFactory#buildQuadshas an overload takingclipUvs, andGeoQuad#clipToTextureis public for custom factories.AnimatableTexturenow supports multiple independent emissive-map attachments, each with its own cached pixel data and GL texture allocation while sharing animation timing and reusable frame buffers.- Generated emissive textures are cached using both the base texture and emissive-map resource locations, preventing cache collisions when sharing emissive maps between different base textures.
- Emissive-map interpolation blends all four ARGB channels, allowing emission intensity to transition smoothly between animation frames. Existing legacy glowmask interpolation behavior is preserved.
- Emissive maps support the existing quad coverage optimization to avoid rendering geometry without visible emission, including coverage across multiple animation frames.
- Custom direct glow textures can define their own
.mcmetaanimations, while grayscale emissive maps inherit the animation timing of their base texture. - All existing glow layer constructors remain backward compatible.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include

