Tags
Creators
Details
All versions
1.21-1.5.1
Release
[Fabric 1.21] v1.5.1last year 45
Compatibility
Minecraft: Java Edition
1.21–1.21.1
Platform
Fabric
Supported environments
Client and server
Changes
Xunlib v1.5.1 Changelog (Hotfix)
Fixes
- Critical Registry Errors:
- Fixed
ArmorSetandToolSetclasses instantiating item instances too late, causing:- Forge/NeoForge:
Registry is already frozenerrors. - Fabric:
This registry can't create intrusive holderscrashes.
- Forge/NeoForge:
- Solution: Delayed item initialization to avoid unsafe registry access during class loading.
- Fixed
Features
- AABB Utilities: Added to
BlockPosUtilsfor axis-aligned bounding box operations:createAABBFromCenter(BlockPos center, double xRadius, double yRadius, double zRadius)expandAABB(AABB original, double x, double y, double z)getUnionAABB(AABB a, AABB b)isAABBWithinBlock(AABB box, BlockPos pos)
Upgrade Immediately if you use ArmorSet/ToolSet to resolve registry crashes. The new AABB utilities simplify collision detection and spatial queries.
Supplementary resources
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:Y91RXtkK:ELhGv89a"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:Y91RXtkK:ELhGv89a"
}

