Tianshu Libs
A comprehensive local AI library integrating llama.cpp (JJML JNI), sherpa-onnx, and ONNX Runtime to power fully offline LLMs, speech recognition, and text-to-speech directly in-game.
介绍
Tianshu Libraries
Tianshu Libraries is a foundational prerequisite library that provides underlying AI capability support for Minecraft. The mod itself does not introduce any visible game content; rather, it serves as a runtime environment, providing the foundational infrastructure for AI. It acts as the unified dependency backend for the upcoming Tianshu mods and other parallel compatible mods.
Purpose and Positioning
Tianshu Libraries aims to provide shared underlying support for upper-level mods, unifying resource management and native library calls. Its core foundational capabilities include:
- Local LLM runtime support
- Voice and audio processing support
- Background task processing mechanisms
- Native runtime and shared configuration management
Future Tianshu mods, as well as other parallel mods that call upon this library, will implement their specific features based on this foundational layer. This library ensures that these upper-level mods can stably access local AI resources.
Runtime Environment and Performance Considerations
Tianshu Libraries provides the necessary underlying runtime for local LLM inference and local voice processing. Because local AI computation is resource-intensive, actual runtime performance is influenced by multiple factors. These include, but are not limited to: computer hardware configuration (CPU/GPU, available memory), Java version, graphics drivers, as well as the specific implementation of upper-level mods and the complexity of the models used.
Usage Instructions
- This mod is a prerequisite library and must be installed alongside upper-level functional mods (such as future Tianshu mods or other compatible mods).
- Installing this library alone will not produce any visible game features.
- The library itself does not add any blocks, items, entities, or game commands.
- The actual available functionality depends on the implementation and invocation by upper-level mods.
Open Source Licensing
Tianshu Libraries utilizes the following open-source components:
- JJML / llama.cpp related components: LGPL-2.1-or-later
- Sherpa / sherpa-onnx related components: Apache License 2.0
- ONNX Runtime related components: MIT License
- Other included components follow their respective independent licenses.
For complete license details, please refer to the included license files or the project homepage.
常见问题
Tianshu Libs 支持哪些 Minecraft 版本?
Tianshu Libs 支持 Minecraft Java 版 1.20–26.2,共 23 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
Tianshu Libs 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
EroDragon 的其他作品
查看全部 →Back to Back
“休闲玩家”和“冒险家”互相扶持,一起击败 Boss、守卫家园,尽情享受 Minecraft 的乐趣。
Minenufactory
工厂主题整合包,完整模拟《戴森球计划》《幸福工厂》和《ASTRONEER》中的流水线生产
Tianshu Library
A comprehensive local AI library integrating llama.cpp (JJML JNI), sherpa-onnx, and ONNX Runtime to power fully offline LLMs, speech recognition, and text-to-speech directly in-game.
评论
登录后评论和评分