Initial commit — Minecraft AI God plugin

- mc_aigod.py: main watcher script (log tail, RCON, two-call LLM)
- Two-call LLM split: qwen3-coder:30b for commands, gemma3:12b for messages
- Divine intervention timer (Poisson process, configurable avg/day)
- Prayer memory (persistent, last 10 exchanges)
- Rolling server log context (last 20 min events)
- Live player context (inventory with rarity, health, food, pos, XP)
- /pray and bible chat detection (no slash — vanilla 1.21 compatible)
- Login notice, bible help system
- debug_commands toggle (in-game command display via tellraw)
- Auto-fix for transposed give command syntax
- JSON repair fallback for truncated LLM responses
- Sentence-aware message chunking for long responses
- mc-aigod.service systemd unit
- mc_aigod_shrink.json example config
- README.md full implementation guide
- Minecraft_Ai_God.md full design document
This commit is contained in:
2026-03-15 19:02:16 -04:00
commit 8ee8be9cc0
27 changed files with 3264 additions and 0 deletions
@@ -0,0 +1,12 @@
{
"type": "minecraft:add_spawns",
"biomes": "#minecraft:is_overworld",
"spawners": [
{
"type": "minecraft:creeper",
"weight": 400,
"minCount": 1,
"maxCount": 4
}
]
}
+6
View File
@@ -0,0 +1,6 @@
{
"pack": {
"pack_format": 26,
"description": "Increased creeper spawn rate"
}
}