All versions
0.1.1-Fabric-1.21.10
Release
GamesAI 0.1.1-Fabric-1.21.10last month 1
Compatibility
Minecraft: Java Edition
1.21.10
Platform
Fabric
Supported environments
Client-side
Server-side
Changes
GamesAI v0.1.1 — Fabric 1.21 to 1.21.10
AI 对话助手模组,在 Minecraft 中通过命令直接与 OpenAI 兼容 API 交互。
主要功能
/ask <问题>— 向 AI 提问,支持-m/--model切换模型- 多后端配置 — 同时配置多个 AI(OpenAI / Ollama / 自定义),独立 Key 和端点
- 对话历史 — 按玩家、按模型记忆上下文,可配置轮数,自动裁剪
- 多语言 — 全服语言切换(en_us / zh_cn),热重载无需重启
- 管理指令 —
/gamesai config/history/reload/debug完整命令体系 - 异步执行 — AI 请求不卡服
安装
- 安装 Fabric Loader ≥ 0.17.3 和 Fabric API ≥ 0.139.4
- 将
games_ai-0.1.1-Fabric-1.21.11.jar放入mods/文件夹 - 启动服务器,修改
config/games_ai/config.json填入你的 API Key - 在游戏中使用
/ask 你好开始对话
支持版本
| Minecraft | Fabric Loader | Fabric API |
|---|---|---|
| 1.21.10 | ≥ 0.17.0 | ≥ 0.134.1 |
| 1.21.x 更早版本 | 见 README |
📖 完整文档:README
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:7VbS918w:8HzQVtvp"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:7VbS918w:8HzQVtvp"
}

