跳到正文

MineGPT

作者:bitz

This project adds AI chat to Minecraft!

收藏

截图

介绍

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

🤖 MineGPT

Fabric
Java
License

MineGPT brings the power of state-of-the-art Large Language Models (LLMs) directly into your Minecraft world. Whether you need help with building ideas, technical advice, or just a companion for your survival journey, MineGPT is there to help.


✨ Key Features

  • 🧠 Multi-Provider Support: Integrated with OpenAI, Anthropic, Google (Gemini), and OpenRouter.
  • 💬 Seamless Interface: A beautiful, dedicated chat screen designed for clear communication.
  • ⚡ Lightweight & Fast: Built on Fabric for optimal performance and compatibility.
  • 🛠️ Fully Configurable: Easily switch between models (GPT-4, Claude 3.5, Gemini 1.5 Pro, etc.) and tweak parameters like temperature and max tokens.
  • ⌨️ Quick Access: Open the AI chat instantly with a single keypress.

🚀 Getting Started

Prerequisites

  • Minecraft: 26.1
  • Java: 25+
  • Fabric Loader: 0.18.4+
  • Fabric API: Required (26.1-compatible)

Installation

  1. Download the latest .jar file.
  2. Place it in your Minecraft mods folder.
  3. Launch the game using the Fabric profile.

⚙️ Configuration

MineGPT requires an API key from your preferred provider to function.

  1. Launch the mod once to generate the configuration file.
  2. Navigate to .minecraft/config/minegpt.json.
  3. Open the file and enter your API keys:
   {
     "openaiApiKey": "your-key-here",
     "anthropicApiKey": "your-key-here",
     "googleApiKey": "your-key-here",
     "openrouterApiKey": "your-key-here",
     "selectedProvider": "openai",
     "openaiModel": "gpt-4"
   }
  1. Save the file and restart your game (or reload the config if supported).

🎮 Commands & Controls

| Action | Control |
|——–|———|
| Open AI Chat | Press . (Period) |
| Alternative Access | Type /minegpt in the standard chat |


📄 License

This project is licensed under the MIT License. Feel free to use, modify, and distribute it!


Developed with ❤️ by bitz

常见问题

MineGPT 支持哪些 Minecraft 版本?

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

MineGPT 怎么安装?

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

评论

登录后评论和评分

bitz 的其他作品

查看全部 →