AI Gods
Do you want an all knowing AI gods in your game? Then download this mod with Player2 App. This also serves as a Demo of how to use the Player2 API to integrate AI chat services into minecraft
介绍
Player2 API Demo (AIGods)
This is a Minecraft Forge mod to demo the Payer2 API.
Important Note: To use this mod (either as a developer or a user), you must have the Player2 app installed and running.
What does this mod do?
This mod allows the currently selected character from the Player2 app to act as an “AI God” that can execute commands and chat to the user in the game Minecraft.
If you just want the mod:
Step 1
Make sure you have the Player2 app installed.
Step 2
Download and install Forge.
Step 3
Download the latest release of the mod.
Step 4
Then install via forge (drag into .minecraft/mods)
Step 5
Run the Player2 app, then open minecraft. Open a singleplayer world, and the character should greet you with a message. Simply type in chat, and the character will respond with chat messages, commands, or both. You can also press x to use voice chat with the god.
Development Setup:
Step 1:
Make sure you have the Player2 app installed.
Step 2:
Make sure you have some JDK installed. On Windows we tested with OpenJDK21.
Step 3:
Extract the ZIP file, then navigate to the extracted folder.
Step 4:
Depends on what IDE you wish to use:
IntelliJ:
- Open IDEA, and import project.
- Select your build.gradle file and have it import.
- Run the following command:
./gradlew genIntellijRuns - Refresh the Gradle Project in IDEA if required.
Eclipse:
- Run the following command:
./gradlew genEclipseRuns - Open Eclipse, Import > Existing Gradle Project > Select Folder or run
gradlew eclipseto generate the project.
If at any point you are missing libraries in your IDE, or you’ve run into problems you can run gradlew --refresh-dependencies to refresh the local cache. gradlew clean to reset everything (this does not affect your code) and then start the process again.
Step 5:
Before running the game, make sure the Player2 app is open.
Step 6:
To run the game, either in IntelliJ or Eclipse, open up the Gradle tab, then under Tasks/forgegradle runs there should be a gradle option for runClient. Simply click that and minecraft should open.
API Docs
Once the Player2 app is running, the docs can be found by opening http://localhost:4315/docs on any web browser.
常见问题
AI Gods 支持哪些 Minecraft 版本?
AI Gods 支持 Minecraft Java 版 1.20–1.21.7,共 15 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
AI Gods 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
ElefantAI 的其他作品
查看全部 →CreaturePals
Chat with any mob in Minecraft! All creatures can talk & react with all the other creatures and players! [Download player2 app from description to power the AI]
DokiMobs Chat
This ModPack combine Dokimobs with CreaturePals
ChatClef
ChatClef is a Minecraft AI copilot that can play the game for you or with you
评论
登录后评论和评分