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

XunLib

A common code library designed to ease mod development

Оцените первым
860
0
Все версии[NeoForege 1.21] v1.4

[NeoForege 1.21] v1.4

Release21.04.2025

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

Xunlib v1.4 Changelog

Features

  • Added @PersistentNbt annotation: Automatically serialize/deserialize block entity data to from NBT.  
      Simplify data persistence by annotating fields in your block entity classes.
  • Custom NBT Adapters: Implement the INbtAdapter interface to define custom serialization/deserialization logic.  
      Override default NBT handling for advanced use cases.

Breaking Changes

  • Moved setModId method: Relocated from CommonUtils to the ModSetup class.  
      Update your mod initialization code to call ModSetup.setModId(...) instead.
  • Renamed inventory methods:  
      - addItems(...)insertItems(...)  
      - removeItems(...)extractItems(...)  
      Refactor existing code to use the new method names.

Improvements

  • Enhanced Fuzzy Matching System:  
      Added whitelist/blacklist support for custom predicates.  
      Define inclusion/exclusion rules for item matching with greater flexibility.

Upgrade Note: If you rely on the old addItems or removeItems methods or setModId in CommoUtils, update your code to avoid runtime errors. Check the documentation for migration examples.

Файлы

xunlib-neoforge-1.21-1.4.jar(70.92 KiB)
Основной
Скачать
xunlib-neoforge-1.21-1.4-javadoc.jar(292.51 KiB)
Скачать
xunlib-neoforge-1.21-1.4-sources.jar(46.84 KiB)
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.21-1.4

Загрузчики

NeoForge

Версии игры

1.21–1.21.1

Загрузок

40

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

21.04.2025

Загрузил

ID версии

Главная