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 attackwhile 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
- Fabric Loader (Minecraft 1.21.3)
- Fabric API
- 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
- Make sure you have a server running or are in single-player.
- Spawn a wolf (dog).
- Press T to open the chat.
- Type @dog followed by your message.
- 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

