Tianshu Libs

Quick rating

Community listing page, reviews may not be monitored by the author.

Tianshu Libs

By EroDragonOwner

No reviews yet

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.

Mod Loaders
Minecraft
26.2

About

Description

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

Tianshu Libs is a required library for the Tianshu series of Minecraft mods.

It does not add many visible features by itself. Instead, it provides the shared foundation that other Tianshu mods need in order to run features such as local AI, voice-related functions, background assistants, and other advanced systems.

If a Tianshu mod says that Tianshu Libs is required, please install this mod together with it.

What Does It Do?

Tianshu Libs helps other Tianshu mods work properly by providing common support for:

  • Local AI features
  • Voice and audio-related features
  • Background task processing
  • Shared configuration
  • Native runtime support
  • Common systems used across Tianshu mods

Think of it as the engine room for the Tianshu mod family. Most of its work happens behind the scenes.

Do I Need This Mod?

You need Tianshu Libs if you install Tianshu mod.

Installing it alone is usually not useful, because most features are provided by the main Tianshu modules that use this library.

Local AI Support

Some Tianshu mods can use local AI models or local voice processing features. Tianshu Libs provides part of the runtime needed for those features.

Performance may depend on your computer, Java version, available memory, graphics card, drivers, and the specific Tianshu modules you are using.

Notes

  • This is a library mod.
  • It is intended to be installed with other Tianshu mods.
  • It may not add blocks, items, mobs, or commands by itself.
  • Features may vary depending on which Tianshu modules are installed.

License

Tianshu Libs uses open-source components.

  • JJML / llama.cpp related components use LGPL-style licensing, including LGPL-2.1-or-later where applicable.
  • Sherpa / sherpa-onnx related components use the Apache License 2.0.
  • Other included components may have their own licenses.

Please check the included license files or project page for full license details.