Перейти к содержимому
Mineforgian

UltraLib

Non-intrusive java code library

16K загрузок3 подписчиковLicenseRef-All-Rights-Reservedfabric

Обновлён 22 ноября 2025 г. · опубликован 27 июля 2025 г.

This is my penultimate library mod, meant for easing data-driven development and feature registration. It is non-intrusive (meaning no-mixins and such for broad compatibilty) and is purely a collection of helpful Java classes.

Currently includes:

  • OptionalObject: A way for parsing optional data from JSON
  • LatchedKeyBinding: Keybindings that only run once per click
  • SortedList: Sorting a list by weight
  • UltraConfig: Extremely light-weight config
  • SimpleDataLoader, RunnableDataLoader, DetachedRunableDataLoader: Different methods of loading json data
  • Creator: A Function with registry that allows for turning one object into another by a specified id. Mainly used for data-driven features.
  • Lists: Repackaging of the Apache Commons class because its not included on the client by default

UltraDRY!

  • UltraLib now offers some utilities to help keep things DRY.
  • Opt-in by adding this to your client init: UltraLib.registerPackage(this.getClass(), MOD_ID);
  • Now you can grab multiple things with ease!:
    • Mod-specific identifiers with UltraLib.id(String id);
    • Mod translations with UltraLib.getText(String title, String... paths);
    • You can even get your logger wtih UltraLib.log();!
    • More examples here

Центр версий

5 версий
  • Релиз29 КБ
  • Релиз23 КБ
  • Релиз23 КБ
  • Релиз23 КБ
  • Релиз23 КБ

Ченджлог

1.0.7+1.20.1Релиз1.20.1 · 22 ноября 2025 г.
  • UltraLib is now UltraDry!
  • TextUtil and formulas
1.0.5+1.21.9Релиз1.21.9, 1.21.10 · 1 октября 2025 г.
  • Updated to 1.21.9
1.0.4.3Релиз1.20.4, 1.20.5, 1.20.6 · 30 сентября 2025 г.
  • Updates to UltraConfig
1.0.4.2Релиз1.20.4, 1.20.5, 1.20.6 · 26 сентября 2025 г.
  • Condition for SimpleDataLoader
1.0.3Релиз1.20.4, 1.20.5, 1.20.6 · 13 сентября 2025 г.
  • Initial modrinth release

Комментарии

Загружаем…