跳到正文

AI Pet Companion

作者:ZaGuo_Ximi

Talk to your Minecraft pets using natural language! Powered by AI (GLM/Claude), allowing chat and combat commands via the server-side.

收藏

介绍

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

AI Pet Companion

Talk to your Minecraft pets using natural language!

AI Pet Companion brings large language models (LLMs) directly into your Minecraft world. You can now have real conversations with your pets, and even command them to attack enemies using natural language.

Features

  • Natural Language Chat: Talk to your dog just like in real life. It will respond with unique, AI-generated replies.
  • Combat Commands: Say @dog attack while looking at a mob, and your pet will immediately lock onto the target and defend you.
  • Context-Aware: The AI understands your prompts and acts as a friendly, immersive in-game companion.

Requirements & Setup

  1. Fabric Loader (Minecraft 1.21.3)
  2. Fabric API
  3. An LLM API Key (Currently supports Zhipu GLM).

⚠️ Important Setup: To use the AI chat features, you must put your own Zhipu API Key in .minecraft/config/ai-pet-key.txt. The file will be automatically generated on your first run.

How to Use

  1. Make sure you have a server running or are in single-player.
  2. Spawn a wolf (dog).
  3. Press T to open the chat.
  4. Type @dog followed by your message.
    • Example: @dog How are you today? (The dog will chat back)
    • Example: @dog go bite that zombie! (Aim your crosshair at a zombie first)
  5. Alternatively, press the K key while looking at the dog to trigger a default interaction.

Important Note

This mod requires an active internet connection to communicate with the AI model. You must provide your own API Key. No API keys are hardcoded or shared.


Created by ZaGuo-Ximi

常见问题

AI Pet Companion 支持哪些 Minecraft 版本?

AI Pet Companion 支持 Minecraft Java 版 1.21.3,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

AI Pet Companion 怎么安装?

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

评论

登录后评论和评分

ZaGuo_Ximi 的其他作品

查看全部 →