Compatibility
Minecraft: Java Edition
1.21–1.21.1
Platforms
Supported environments
Creators
Details
Changelog
Xunlib v2.1 Changelog
Registration System Overhaul
- Renamed
Registrar→Register: Simplified naming for core registration API. - New Registry Paradigm:
- Replaced lazy registry references with strongly-typed holders:
RegistryHolder: Base for all registry objectsRegistryItem: Specialized holder for itemsRegistryBlock: Specialized holder for blocks
- Benefits: Type safety, explicit lifecycle control, and loader-agnostic initialization.
- Replaced lazy registry references with strongly-typed holders:
Breaking Changes
- Forge Support Removed:
- Discontinued due to API incompatibilities with the finite registration system.
- Still Supported: Fabric and NeoForge
- Deprecated/Removed:
- All lazy registry references (migrate to
RegistryHoldersubclasses).
- All lazy registry references (migrate to
Improvements
- Stable Registration Flow:
- Resolved issues from v1.6.x for reliable multi-loader registration.
Migration Guide:
- Replace
Registrar<T>withRegister - Use
RegistryItem/RegistryBlockinstead of lazy references - Forge users: Switch to Fabric/NeoForge or stay on v1.6.x
Files
Metadata
Release channel
ReleaseVersion number
1.21-2.1Loaders
Game versions
1.21Downloads
22Publication date
June 6, 2025 at 11:50 PMPublisher

Xun
Member


