Мова

AI Gods (by Player2)

AI Gods (by Player2)

Modrinth

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

1.1k завантажень 2 підписників оновлено 11mo ago
остання v1.0.11 Modrinth
Forge Neoforge 1.21 – 1.21.7

Summary:

Do you want an all-knowing AI god 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. View source code here.

Important Note: To use this mod (either as a developer or a user), you must have the Player2 app open 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
Install Forge.

Step 3
Install the latest release of the mod here.

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 eclipse to 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.

Mapping Names:

By default, the MDK is configured to use the official mapping names from Mojang for methods and fields in the Minecraft codebase. These names are covered by a specific license. All modders should be aware of this license, if you do not agree with it you can change your mapping names to other crowdsourced names in your build.gradle. For the latest license text, refer to the mapping file itself, or the reference copy here: https://github.com/MinecraftForge/MCPConfig/blob/master/Mojang.md

Additional Resources:

Player2 / Elefant AI discord: https://elefant.gg/discord

Forge supports:
Community Documentation: https://docs.minecraftforge.net/en/latest/gettingstarted/
LexManos' Install Video: https://youtu.be/8VEdtQLuLO0
Forge Forums: https://forums.minecraftforge.net/ Forge Discord: https://discord.minecraftforge.net/

Версії

Release
1.0.11
neoforge · 1.21.7 · 11mo ago
Migrated to the new Player2 NPC API (and 1.21.7 support)
318
Release
1.0.10
forge · 1.21, 1.21.1, 1.21.2 · 14mo ago
add STT, add heartbeat
651
Release
1.0.4
forge · 1.21, 1.21.1, 1.21.2 · 15mo ago
103

Коментарі 0

Поки немає коментарів. Будь першим, хто поділиться думкою.

Завантажити AI Gods (by Player2)

Файли надаються напряму з першоджерела. Modgrid не зберігає та не змінює їх.