═══════════════════════════════════
🔥 V7.10 UPDATE — MAJOR STABILITY FIX
═══════════════════════════════════
This update fixes the critical "AI not spawning" issue that many of you reported in the comments. Huge thanks for your patience and detailed bug reports — they made this fix possible!
─────────────────────────────────
🐛 CRITICAL FIX: AI Now Spawns Properly!
─────────────────────────────────
Found and fixed the root cause of AI not appearing in the world:
• A silent script crash (Peacemaker chat system) was blocking ALL systems that loaded after it — including the spawner itself
• AI was missing the "persistent" component, causing them to instantly despawn on low-end devices/mobile (low simulation distance)
• Spawn location search was scanning from the sky or deep underground instead of the player's actual floor level
• All initialization functions are now wrapped in error handling, so one broken system can never block the rest again
If you experienced 0 AI spawning before, this update should fix it completely.
─────────────────────────────────
🎲 NEW: Weighted Group Spawning
─────────────────────────────────
AI no longer spawns one at a time — now they spawn in realistic group sizes, just like a real server:
• 1 player joins: 46% chance
• 2 players join together: 31% chance
• 3 players join together: 15% chance
• 5 players join together: 8% chance
─────────────────────────────────
👥 NEW: Global Population Cap (20/20)
─────────────────────────────────
• Maximum of 20 AI players can exist in the world at once (across Overworld, Nether, and End combined)
• When the cap is full and new AI try to join, the AI that has been in the world the LONGEST will automatically leave (with a fake "left the game" message) to make room
• This keeps performance stable and prevents AI overpopulation while still feeling like an active server
─────────────────────────────────
📍 SPAWN IMPROVEMENTS
─────────────────────────────────
• AI now spawns 8–40 blocks from the player (closer, more visible)
• AI spawns on the SAME floor/surface level as the player (no more spawning in caves or on mountain tops you can't see)
• Faster first spawn — AI can appear within seconds of joining the world
• Reduced spawn cooldowns for more frequent natural spawning
─────────────────────────────────
💬 CHAT FIXES
─────────────────────────────────
• Chat messages now ONLY come from real AI players that exist in the world — no more fake random names
• AI now chats spontaneously based on their actual name and situation (idle, near player, nighttime, etc.)
• Join/leave/death messages all use real AI names tied to actual entities
─────────────────────────────────
⚔️ COMBAT & SAFETY FIXES
─────────────────────────────────
• AI will NOT randomly attack you anymore — they only fight back if YOU hit them first
• Fixed AI swimming in circles (stuck-in-water detection + auto-teleport to surface)
• Fixed AI "staring into the abyss" — idle AI now actively re-engage and move toward nearby players
• AI now respawns NEAR the player instead of at world spawn
─────────────────────────────────
🧭 QUALITY OF LIFE
─────────────────────────────────
• Type "where", "find", or "locate" in chat to get an on-screen compass pointing to the nearest AI
• Debug logging added throughout the spawn system for easier troubleshooting
─────────────────────────────────
⚠️ COMPATIBILITY
─────────────────────────────────
✅ Minecraft Bedrock 1.21.0 – 1.21.62 (fully supported, tested on 1.21.80)
⚠️ 1.21.70+ — mostly works, minor issues possible
❌ 1.26.x — not yet supported (planned for a future update)
As always, please report any bugs in the comments — V7.10 should be the most stable version yet! 🙏