promotional bannermobile promotional banner

XunLib

Not exciting, another library mod
Back to Files

[Fabric 1.21] v1.5.1

File namexunlib-fabric-1.21-1.5.1.jar
Uploader
Xun_skXun_sk
Uploaded
Apr 27, 2025
Downloads
16
Size
99.8 KB
Mod Loaders
Fabric
File ID
6471577
Type
R
Release
Supported game versions
  • 1.21.1
  • 1.21

Curse Maven Snippet

Fabric

modImplementation "curse.maven:xunlib-1245630:6471577"

Learn more about Curse Maven

What's new

Xunlib v1.5.1 Changelog (Hotfix)

Fixes

  • Critical Registry Errors:
    • Fixed ArmorSet and ToolSet classes instantiating item instances too late, causing:
    • Forge/NeoForge: Registry is already frozen errors.
    • Fabric: This registry can't create intrusive holders crashes.
    • Solution: Delayed item initialization to avoid unsafe registry access during class loading.

Features

  • AABB Utilities: Added to BlockPosUtils for 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.

Type
Name
Game Versions
Mod Loaders
Size
Downloads
Uploaded