跳到正文

MC-Chatbot

作者:ImHungry1480

AI built into Minecraft Chat

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

MC-CHATBOT

Chat with AI directly inside Minecraft via OpenRouter.

Fabric | Minecraft 26.1.2 | Client-side only


Features

  • Talk to any AI model (GPT-4o, Claude, Gemini, Llama, etc.) without leaving Minecraft
  • Conversation history — the AI remembers context within a session
  • Toggle AI mode on/off anytime
  • Commands never reach the server — fully client-side
  • API key never echoed or logged

Installation

  1. Install Fabric Loader and Fabric API
  2. Drop aichat-1.0.0.jar into .minecraft/mods/
  3. Launch the game

Setup

  1. Get a free API key at openrouter.ai/keys
  2. In-game, run /aiconfig and paste your key into chat when prompted
  3. Run /ai on to enable AI mode
  4. Type normally — messages go to the AI instead of the server

Commands

Command Description
/aiconfig Interactive API key setup
/aiconfig key <key> Set API key directly
/aiconfig model <model> Set model (default: openai/gpt-4o-mini)
/aiconfig system <prompt> Set system prompt
/aiconfig status Show current config
/aiconfig reset Clear API key
/ai on Enable AI chat mode
/ai off Disable AI chat mode
/ai Toggle AI on/off
/ai clear Clear conversation history

Changing the Model

Any model on OpenRouter that support text message works. Examples:

/aiconfig model openai/gpt-4o
/aiconfig model anthropic/claude-3.5-haiku
/aiconfig model google/gemini-2.0-flash-001
/aiconfig model meta-llama/llama-3.3-70b-instruct
/aiconfig model mistralai/mistral-nemo:free

Browse all models at openrouter.ai/models.


Security

  • All commands (/aiconfig, /ai) are client-side only — the server never sees them
  • Messages typed while AI is ON are blocked from the server — only sent to OpenRouter
  • API key is never echoed in chat
  • API key is stored in plaintext at .minecraft/config/aichat.json — set a spending limit on your key at openrouter.ai/settings as a precaution

License

ALL RIGHT RESERVED ImHungry1480

常见问题

MC-Chatbot 支持哪些 Minecraft 版本?

MC-Chatbot 支持 Minecraft Java 版 26.1–26.1.2,共 3 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

MC-Chatbot 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

ImHungry1480 的其他作品

查看全部 →