UltraLib
ModNon-intrusive java code library
Description
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 JSONLatchedKeyBinding: Keybindings that only run once per clickSortedList: Sorting a list by weightUltraConfig: Extremely light-weight configSimpleDataLoader,RunnableDataLoader,DetachedRunableDataLoader: Different methods of loading json dataCreator: AFunctionwith 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
- Mod-specific identifiers with
Compatibility
Mod Loaders
Game Versions
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Always Listening
A spooky mod that adds an entity you can talk to!
Ye Olde Pack for Flan's Mod
The original biplane that defined the early versions of Flan's Mod
Pirates
A mod adding pirate- related Items and Blocks, as well as ghost pirates
Cobblemon Legendary Birds
Adds 3 legendary birds to natural spawn
Teal Lib
A library mod that's teal... That's the appeal
Super Massive Tech
A mod all about stars, black holes, and all the powers and disasters that accompany them.