Create a Fabric mod for Minecraft 26.2 (server-side) that adds AI player bots with real decision-making brains.
Spawning and factions
On server start, spawn a configurable number of bots from a config file. Split them 70/30 into two factions: "DEVIG" and "Wemmbu".
Bots stay spawned when no human player is online.
Commands: /bots spawn <amount>, /bots list, /bots brain on|off <botname>.
Kits
Two bots named exactly "Official_DEVIG" and "Wemmbu" spawn with a two-mace loadout: one mace with a strong custom enchantment, one normal mace.
All other bots spawn with an empty inventory.
Command: /bots kit <name> to give a kit manually.
God Mace (owner-locked to Official_DEVIG only)
Custom item based on the mace, named "God Mace", displayed in red and bold, with a custom 16x16 texture at assets/<modid>/textures/item/god_mace.png (bright red mace head with a glow, dark purple handle) and a durability bar.
Only the player "Official_DEVIG" can hold or use it. It cannot be crafted, dropped, traded, or given to any other player. If another player tries to use it, nothing happens.
Abilities, all on the same item with separate cooldowns:
Right-click fires a fast projectile in a straight line up to 30 blocks, dealing 15 damage to the first entity hit. Cooldown 3 seconds.
Sneak + right-click spawns a TNT 50 blocks directly above the block the player is looking at; it falls and explodes on impact. Cooldown 10 seconds.
Command /godmace style <1|2|3> switches styles: style 1 is a wide sweep hitting all entities within 5 blocks, style 2 is a heavy single-target slam with knockback, style 3 is a dash forward 10 blocks damaging anything in the path.
Ender chest and restock
"Official_DEVIG" and "Wemmbu" spawn with a pre-filled ender chest containing spare gear, totems, and blocks.
A restock check every 60 seconds refills their inventory from the ender chest if anything is missing or broken.
Brains
Every bot runs a decision loop: every 5 seconds it perceives nearby players (name, distance, health), nearby blocks within 10 blocks, its own health, hunger, and inventory.
Each bot stores the last 50 events in a per-bot memory file, each with a timestamp and the players involved.
Every 10 seconds it sends perception plus relevant memory to an LLM API and receives exactly one action. The API endpoint, key, and model must be in the config file, not hardcoded.
The action must be returned in a strict format, one action per reply: mine <block>, goto <x> <y> <z>, attack <player>, follow <player>, place <block>, say <message>, or idle.
Each bot has a personality in the config: name, faction, traits, goals, grudges.
Bots in faction "Wemmbu" use a separate, stronger model configured in the config file, and their leader "Wemmbu" can issue orders to bots in his faction.
Factions and commanders
Each faction has a leader ("Official_DEVIG" and "Wemmbu"), a claimed territory region, and a commander rank.
Bots start with no rank. Command /faction promote <botname> makes a bot a commander, giving it the two-mace loadout and the ability to command other bots in its faction.
Voice chat
Integrate Simple Voice Chat so the two faction leaders speak in voice chat using text-to-speech and respond to voice using speech-to-text. Only the two leaders use voice; all other bots use normal chat.
This is a Java server-plugin project; your request needs a Fabric 26.2 mod. Kodari supports that project type.
Switch to Fabric 26.2
continue\
This project is already Fabric 26.2; my earlier suggestion to switch was incorrect.
Before I can complete the requested integration:
Simple Voice Chat is not among the dependencies available to this project. Should I proceed without voice support?
Which API providers and audio formats should the leaders use for text-to-speech and speech-to-text?
The custom texture requires Kodari Studio. Enable it under Project settings → Generation, or for all projects at https://kodari.ai/settings?tab=features.
Proceed without voice support. Remove the Simple Voice Chat integration entirely from this build — all bots, including the leaders, use normal text chat only.
Use Kodari Studio for the custom God Mace texture.
Keep everything else exactly as specified: spawning with a configurable bot count split 70/30 into factions "DEVIG" and "Wemmbu", bots staying spawned when no human is online, the two-mace loadouts for "Official_DEVIG" and "Wemmbu" with everyone else empty, the owner-locked God Mace with all three abilities and separate cooldowns, the ender chest and restock system for the two leaders, the brain loop with perception, per-bot memory, config-based LLM settings and strict one-action replies, and the commander promotion system.
Voice support is removed from the specification; all bots will use text chat.
Kodari Studio is currently disabled, so I can’t create the requested God Mace texture yet. Enable it in Project settings → Generation, or for all projects at https://kodari.ai/settings?tab=features.
Which LLM API provider should the bot brains use? The endpoint, key, and model will remain configurable.
No files in this session