Tags
Creators
Details
Licensed MIT
Published 3 years ago
Updated 2 days ago
All versions
3.1.20
Release
azurelib-neo-1.20.1-3.1.20.jar7 weeks ago 15.6K
Compatibility
Minecraft: Java Edition
1.20.1
Platforms
Forge
NeoForge
Supported environments
Client and server
Changes
v3.1.20
Additions
- Animation LOD now works. Past
animLodDistance, entities update their animations once everyanimLodTickIntervalticks and hold their pose in between, instead of animating every frame.
Fixes
- Fixed animation LOD having no effect. The LOD decision was computed but ignored, so distant entities still animated every frame.
- Fixed models and animations that could briefly go missing during a resource reload (F3+T or changing resource packs in-world). The caches were filled in place on a background thread while the game was still rendering from them; they are now loaded separately and swapped in once the reload finishes.
- Fixed models and animations from removed resource packs staying loaded until restart.
- Fixed one geo model that failed to bake stopping every remaining model from loading. The broken model is now logged and skipped.
- Fixed a crash when an animation file
includesa file that is missing or failed to load. The animation is now logged as missing instead. - Fixed bone LOD being able to hide bones on the shared model template before an entity had its own copy, which newly spawned entities could then inherit.
- Fixed per-entity LOD state never being released after entities unloaded.
Changes
- Changed LOD to be DISABLED by default when a render doesn't call
withLodConfig.
Developer Notes
AzResourceCache#loadResourcesnow returnsCompletableFuture<Map<ResourceLocation, T>>and no longer takes aBiConsumer.AzBakedAnimationCache#loadAnimationsandAzBakedModelCache#loadModelsreturn the loaded map; publish it with the newapply(Map). Namespaces inEXCLUDED_NAMESPACESare now skipped before loading instead of after.- Added
AzEntityRenderer#shouldAnimateThisFrame()and the overridableupdateLod(...). Custom entity model renderers that overriderendershould checkshouldAnimateThisFrame()before callinghandleAnimation, or animation LOD won't apply to them. - LOD is opt-in: renderers that never call
withLodConfigdon't use bone or animation LOD. PassAzLodConfig.DEFAULTfor the built-in preset (one animation update every 2 ticks past 48 blocks; bones deeper than depth 3 hidden past 40 blocks) or build your own withAzLodConfig.builder().
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:qahsHKgR"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:7zlUOZvb:qahsHKgR"
}

