跳到正文

AI Friend by Kurzer

作者:Kurzer

AI Friend为Minecraft添加了一个新NPC,它通过OpenRouter API使用真正的人工智能与你交流。问它任何事,给它任务——它会回应、移动并与世界互动!

收藏

截图

介绍

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

AI Friend adds a new NPC to Minecraft that communicates with you using real artificial intelligence via the OpenRouter API. Ask it anything, give it tasks — it will respond, move, and interact with the world!

✨ Features

Real AI conversations — the NPC responds using any model available on OpenRouter (GPT-4, Claude, Mistral, LLaMA and others)

Action system — the NPC can move around, come to you, place and break blocks on command

Fully configurable — choose the AI model, set a system prompt, adjust temperature and response length

Async requests — HTTP calls never freeze the server

Multiplayer ready — works on dedicated servers and in singleplayer

No extra mods required — only Fabric API

🚀 Commands

/friend ask ===> Chat with the NPC — it will respond with text

/friend ask ===> Give the NPC a task — it can move, place or break blocks

/friend reload ===> Reload config without restarting (OP only)

/summon aifriend:ai_friend ===> Summon the NPC

The NPC can also be spawned using a spawn egg found in the Spawn Eggs creative tab.

⚙️ Setup

Install the mod and launch the game once

Open config/aifriend.json

Get a free API key at openrouter.ai

Paste your key into the apiKey field and choose the AI model

Done!

常见问题

AI Friend by Kurzer 支持哪些 Minecraft 版本?

AI Friend by Kurzer 支持 Minecraft Java 版 1.21.1–26.3,共 8 个版本,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。

AI Friend by Kurzer 怎么安装?

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

评论

登录后评论和评分

Kurzer 的其他作品

查看全部 →