libliblib-universal-1.1.2.jar
Curse Maven Snippet
What's new
LibLibLib v1.1.2 (Universal Library Update)
Supported Loaders & Versions: Fabric, Forge, NeoForge, Cleanroom across 1.7.10, 1.12.2, 1.20.1, 1.21.1-1.21.11, 26.1-26.3.
✨ New Features & Enhancements (100% Backwards Compatible)
dev.libliblib.ui.ColorMathExpansion:- Added
parseHex(String)supporting#RGB,#RGBA,#RRGGBB,#AARRGGBB,0x..., and raw hex formats. - Added
toHex(int, boolean)for exporting clean#RRGGBBor#AARRGGBBhex strings. - Added
luminance(int)(standard relative luminance) andcontrastRatio(int, int)(WCAG 2.1 compliance). - Added
multiply(int, float)andblend(int, int)for alpha-composited color blending. - Added bidirectional HSL conversion (
toHsl,fromHsl) with hue angles and saturation/lightness factors.
- Added
dev.libliblib.ui.Easing&AnimatedValue:- Added mathematical easing curves:
linear,easeInQuad,easeOutQuad,easeInOutQuad,easeInCubic,easeOutCubic,easeInOutCubic,easeOutBounce, andsmoothStep. - Added
AnimatedValue: lightweight, high-performance float animator with target smoothing and render tick interpolation.
- Added mathematical easing curves:
dev.libliblib.math.Rect2i&Vec2i:- Pure Java 8 immutable 2D integer geometry utilities for UI layout, boundary clipping, hit-testing, and rectangle operations (
intersects,intersection,contains,offset,inset,expand).
- Pure Java 8 immutable 2D integer geometry utilities for UI layout, boundary clipping, hit-testing, and rectangle operations (
dev.libliblib.util.ExpiringCache:- High-performance, thread-safe LRU in-memory cache with time-to-live (TTL) expiration, automatic pruning, and
computeIfAbsent.
- High-performance, thread-safe LRU in-memory cache with time-to-live (TTL) expiration, automatic pruning, and
dev.libliblib.util.Debouncer&Throttler:- Thread-safe task rate limiters for search inputs, background saves, packet batching, and throttled UI updates.
dev.libliblib.util.TextFormatter:- Added
compactNumber(long)(e.g.1.5K,2.5M,1.2B),formatDuration(long)(e.g.1m 15s),truncate(text, max, suffix),toRoman(int),capitalize(str), andtitleCase(str).
- Added
dev.libliblib.config.JsonConfigStoreUpgrades:- Added
reload()for manual hot-reloads from disk. - Added
update(Consumer<T>)for atomic in-memory mutation and disk persistence. - Added
addListener(Consumer<T>)/removeListener(Consumer<T>)for change notifications.
- Added
dev.libliblib.event.EventChannelUpgrades:- Added priority-based registration (
register(T listener, int priority)) andregisterFirst(T). - Added
hasListeners()query helper.
- Added priority-based registration (
- Mod Loader & Cleanliness Fixes:
- Removed deprecated
lowcodefmlloader declaration fromneoforge.mods.toml, eliminating startup warnings across modern NeoForge versions.
- Removed deprecated
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

