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.