ModsFinder
AD

AI DataBase wAPI Core

by morwapi

AI DataBase wAPI Core is a NeoForge library for 1.21.1 that lets other mods call external AI services and store data in JSON.

NeoForgeClient and serverApache License 2.01.21.1

What it does

Other mods use the core to send asynchronous requests to external AI services, including OpenAI-compatible LLM endpoints, without each one writing its own networking code. The core also supplies a lightweight JSON-based persistent database, so dependent mods can keep their data between sessions. Developers reach both features through a Java API, with AiCoreAPI for requests and DatabaseManager for storage.

Beyond the API, the mod is meant to back standalone features such as chatbots built by its dependents. Requests are queued and run on an executor, and candidate models are chosen by priority with load balancing across API keys. When an endpoint misbehaves, the core penalizes it and skips it for a while, and a fail-safe loop stops selection after 100 rounds so a stuck request cannot run forever.

The mod runs on client and server, so both sides need it for dependent features to work. It is published for NeoForge only, for Minecraft 1.21.1, with the latest file 1.21.1-0.1.2 released on 2026-03-04. The code is released under the Apache License 2.0, and the project is not open source.

Key features

  1. Asynchronous AI requests

    Requests to external AI endpoints run asynchronously through serial queues and an executor, keeping the game thread free.

  2. Key distribution and priority

    Candidate models are picked by lowest priority value, and requests are spread across keys with round-robin load balancing.

  3. Penalty point system

    Rate limits add 1 penalty point, server errors add 5 and timeouts or DNS failures add 7, so unstable endpoints are chosen less often.

  4. Probabilistic skipping

    Penalized models are skipped with a probability of PP divided by PP plus 4, and their cooldown ends with the candidate list being redrawn.

  5. Configuration error handling

    A 401 or 404 response disables the model at once and the call falls back to the next candidate, while a 400 response is treated as a likely bug in the prompt data.

Compatibility

Latest build for each game version and loader.

1.21.11.21.1-0.1.2
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Who it’s for: Mod developers who want AI features or lightweight JSON storage in a NeoForge 1.21.1 mod, and server owners who run dependent mods that need the core installed on both sides.

Questions

Does AI DataBase wAPI Core need to be installed on both sides?

Yes. Installation covers the server and each player's game.

Which loader and game version does the core support?

Only NeoForge for Minecraft 1.21.1 is listed, with the latest file 1.21.1-0.1.2 dated 2026-03-04.

Which AI services can the core call?

The core is built for OpenAI-compatible LLM APIs and sends asynchronous requests to external AI endpoints through the Java API.

In the catalog

AI DataBase wAPI Core is one of 3,514 Library mods on ModsFinder, and one of 1,449 Library mods for NeoForge. 32,366 mods support Minecraft 1.21.1.

More from morwapi

All projects

Similar mods

What the author says

A core server-side mod for Minecraft 1.21.1 (NeoForge) that provides asynchronous request functionality to external AI (OpenAI-compatible LLM APIs) and a lightweight JSON-based persistent storage (database functionality). This mod does not provide standalone features (such as chatbots) on its own; it is designed as a…
morwapi, on the Modrinth page

Official listing

Owner
morwapi
Published
2026-03-03
Updated on Modrinth
2026-03-04
Facts verified
2026-10-15

Tags