跳到正文

LibLibLib

作者:xsoras

A library for easier modding and for many other mods.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

image

image

Library for my mods (Chest DNA, Vectors, Bedrock Zero, etc.) and anyone else who wants clean utilities without fighting loader differences.

Written in pure Java 8 bytecode with no Mojang/Minecraft runtime dependencies in core, meaning one jar works across every modern loader and version (1.20.1 up to 26.3+ on Fabric, NeoForge, and Forge).

What’s inside?

  • JsonConfigStore
    Thread-safe, atomic JSON config loading and saving using standard Gson. Automatically recovers from corrupt/truncated disk writes, handles schema migrations, and avoids repetitive config boilerplate.

  • EventChannel
    A lightweight, lock-free event bus for cross-mod or internal decoupled communication. Supports priority sorting, early cancellation, and isolated exception handling.

  • ColorMath
    High-speed ARGB/RGB math: smooth alpha blending, perceived luminance calculation, WCAG contrast ratios, and color interpolation.

  • telemetry
    FrameMetrics, RollingFrameRing, and TickAdmissionBudget. Ultra-low-overhead circular buffers for tracking frametimes, tick spikes, and budgeting expensive operations across frames.

Downloads & Compatibility

You don’t need 20 different jars cluttering your mod folder:

  • libliblib-universal-*.jar: Drop this into mods/ for any modern Minecraft version (1.20.1, 1.21.x, 26.x+) whether you’re using Fabric, NeoForge, or Forge.
  • libliblib-forge-1.12.2-*.jar: Dedicated build for 1.12.2 (compatible with standard Forge and Cleanroom).
  • libliblib-forge-1.7.10-*.jar: Dedicated build for 1.7.10 Forge.

Feel free to bundle, shade, or depend on it in your own mods and modpacks.

常见问题

LibLibLib 支持哪些 Minecraft 版本?

LibLibLib 支持 Minecraft Java 版 1.7.10–26.3,共 26 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

LibLibLib 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

xsoras 的其他作品

查看全部 →