UltraLib 图标

UltraLib

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.7+1.20.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/ultralib
资源信息

Minecraft 版本: 1.20.1

平台: fabric

标签: library management utility

资源介绍

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
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Biometastic!

价格:0 墨喵币
下载量:0

查看详情
Simple White Elytra

价格:0 墨喵币
下载量:0

查看详情
Malachite (Fabric)

价格:0 墨喵币
下载量:0

查看详情
Void king dimension

价格:0 墨喵币
下载量:0

查看详情