▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/XunLib
XunLib

XunLib

A common code library designed to ease mod development

Оцените первым
860
0
Все версии[Fabric 1.21] v2.1

[Fabric 1.21] v2.1

Release07.06.2025

Список изменений

Xunlib v2.1 Changelog

Registration System Overhaul

  • Renamed RegistrarRegister: Simplified naming for core registration API.
  • New Registry Paradigm:
    • Replaced lazy registry references with strongly-typed holders:
      • RegistryHolder: Base for all registry objects
      • RegistryItem: Specialized holder for items
      • RegistryBlock: Specialized holder for blocks
    • Benefits: Type safety, explicit lifecycle control, and loader-agnostic initialization.

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 RegistryHolder subclasses).

Improvements

  • Stable Registration Flow:
    • Resolved issues from v1.6.x for reliable multi-loader registration.

Migration Guide:

  1. Replace Registrar<T> with Register
  2. Use RegistryItem/RegistryBlock instead of lazy references
  3. Forge users: Switch to Fabric/NeoForge or stay on v1.6.x

Файлы

xunlib-fabric-1.21-2.1.jar(109.82 KiB)
Основной
Скачать
xunlib-fabric-1.21-2.1-javadoc.jar(414.52 KiB)
Скачать
xunlib-fabric-1.21-2.1-sources.jar(76.39 KiB)
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.21-2.1

Загрузчики

Fabric

Версии игры

1.21

Загрузок

44

Дата публикации

07.06.2025

Загрузил

ID версии

Главная