The mod is still actively developing, please submit an issue if you find any problems. If you want to use the latest version, please compile the source code yourself, see Build.
NPC-System is a brand-new mod based on Chat With NPC, in addition to supporting player-NPC chatting, the mod will support the exchange of views between NPCs and the control of NPC behavior via LLM. The LLM can control the NPC's Task Schedule and execute unexpected Tasks. In addition, players can investigate and modify the memories and behaviors of all NPCs through the LLM.
- Spawn a new NPC by using the command
/npc spawn, then the NPC will be spawned at the player's location. You don't need to register the NPC, but you need to rename them by using itemname tag.
-
Any player can talk to NPCs by shift+clicking on them. Then the NPC will greet with players.
-
You can reply to the NPC by the chat bar near the NPC. The NPC will only listen to the player who is talking to him.
-
The NPC's speech can be seen by everyone (in the chat bubble above their head), or by players within a certain range around NPC (in the Chat bar).
- In
Meeting Activity, NPCs will search and try to chat with a nearby NPC or Player. - If an NPC is facing and talking to a player, the player can reply in the chat bar.
- The Master Agent has no entity in the game. The OPs can talk to him by using the command
/npc master <message>. - The Master Agent can execute commands and control the NPCs' behavior (in dev). And it will also record the conversation by using RAG data storage.
- Minecraft Server 1.19.4
- Fabric Loader 0.12.0 or higher
- Fabric API included
/npc- View configuration status/npc help- View help information/npc spawn- Spawn a new NPC/npc master <message>- Send a message to the Master Agent/npc saveAll- Save all NPCs' data/npc group <group_name> <command> <parameter>- Manage the group of NPCs/npc addGroup <group_name>- Add a new group/npc debug- Debug command
- NPCs chat with each other and communicate their opinion of events.
- NPCs can be controlled by LLM.
- NPCs have their opinion on every event in their
Group.
- Clone the repository.
- Run
./gradlew buildin the root directory of the repository. - The jar file will be generated in the
build/libsdirectory.
