08c77ad785
Natural spawning returned without a local player, so a dedicated or --server-thread server spawned no mobs and a LAN host spawned them only around itself. ServerChunkCache.tickChunks now takes its spawning chunks from every player in the level (ChunkMap.collectSpawningChunks), the global caps from the natural spawn chunk tracker's size, and the local caps from each player (LocalMobCapCalculator). Inhabited time and thunder follow the same chunks (tickSpawningChunk), the wandering trader picks a random living player (getRandomPlayer), and mobs despawn by their distance to the nearest non-spectator of any kind. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>