Tags
Creators
Details
Licensed MIT
Published 3 years ago
Updated 24 hours ago
All versions
1.0.2
Release
1.0.27 weeks ago 6
Compatibility
Minecraft: Java Edition
1.12.2
Platform
Forge
Supported environments
Client and server
Changes
v1.0.2
Additions
- N/A
Fixes
- Fixed AzureLib armor rendering in the wrong place on players and mobs when an AzureLib entity was wearing the same armor item. The chestplate would float above the wearer's head.
- Fixed arm, leg and boot pieces of AzureLib armor on AzureLib entities being placed at the wrong position (for example, gauntlets rendering at the entity's feet), depending on the order the entity's bones rendered in.
Changes
- N/A
Developer Notes
- Each armor item shares one
AzArmorModelacross every wearer.AzArmorLayerused to leave that shared model's biped parts posed with the entity's bone pivots and rotations, and vanilla'sModelBiped#setRotationAnglesnever resetsbipedBody's rotation point or the arms' Y rotation point. That stale state then leaked into the next wearer. AzArmorModel#rendernow resets every biped part to the defaultModelBipedpose before callingsetRotationAngles, so the vanilla armor layer path always starts from a clean pose.AzArmorLayernow saves the biped pose of every armor model it uses during an entity's render and restores it inrender(context)once the model pass is finished. Subclasses that overriderendermust callsuper.render(context).AzArmorLayernow caches each entity's posed biped parts per armor model and applies that cache before each piece renders.applyBaseTransformationspositions every armor bone from every biped part, so each piece now sees this entity's full pose rather than default or leftover values. The cache is weakly keyed on the entity.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:7zlUOZvb:fYNLMOUo"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:7zlUOZvb:fYNLMOUo"
}

