TurtleLib
Shared helper library for my and your Fabric/NeoForge mods. I use it in my own mods, but you can use it for your own mods also.
介绍
TurtleLib is a small helper library for Minecraft mods by kroet.net on Fabric and NeoForge. It adds no gameplay, items or settings of its own; mods such as PermaClicker and TradeShuffler use it for shared technical parts like their update check.
Quick start for players 🎮
- Download the TurtleLib file for your loader (Fabric or NeoForge) and Minecraft version.
- Put it into the
modsfolder, next to the mods that require it. - Start the game.
If TurtleLib is missing or too old, the game names the required version when it starts. Launchers such as the Modrinth App and CurseForge install it automatically as a dependency.
Update together ⚠️
TurtleLib 2.0.0 is not compatible with mods built for TurtleLib 1.x, and those mods do not run with it. Update TurtleLib together with the mods that require it (e.g. PermaClicker 2.0.0).
What TurtleLib provides ✨
- Update check (
UpdateChecker): finds the newest version of a mod on Modrinth and CurseForge, filtered by release channel (Stable / Beta / Alpha), loader and Minecraft version - Version comparison (
VersionComparator): compares version numbers such as2.0.0,2.1.0-beta.2or1.4.0+26.3reliably - the same behavior on Fabric and NeoForge, from one shared code base
Update check & privacy 🔔
TurtleLib does not connect to anything on its own. Only when a mod uses its update check does that mod query api.modrinth.com (Modrinth, official API) and api.cfwidget.com (CFWidget, an unofficial third-party service that mirrors CurseForge data). Each mod documents on its own page what it sends and how to turn the check off.
With Mod Menu installed (Fabric), Mod Menu may also check TurtleLib itself for updates on Modrinth; that check is configured in Mod Menu’s own settings.
Source code 🛠️
Source code, build instructions and the developer documentation (including the core jar for compiling your own mod against TurtleLib) are available on GitHub.
常见问题
TurtleLib 支持哪些 Minecraft 版本?
TurtleLib 支持 Minecraft Java 版 1.21.10–26.3,共 7 个版本,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。
TurtleLib 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
评论
登录后评论和评分