Mob Limits

Limits on Large Groups of Mobs.

To optimize server performance, large clusters of mobs are regulated.
Entities are not limited per chunk but are limited by their group (see below).
Groups of mobs that exceed the limit are periodically identified and culled,
exempting those with special characteristics like being a custom mob or tamed.
When a mob is removed, you will see a smoke effect.

For example, if the limit is 10 mobs within 5 blocks, it will group all mobs in the same group
that are less than 5 blocks from each-other into one large group and remove the excess mobs.

If you wanted to have more than 10 mobs in this example, you need to have at least 5 blocks
between your groups to prevent them being counted as one group.

Mob limits:
Armorstands (Armor Stand): 30 within a 10 block radius
Xporb (Experience Orb): 50 within a 3 block radius
Items (Item): 500 within a 2 block radius
Hanging (Item Frame, Leash Knot, Painting, Glow Item Frame): 2000 within a 2 block radius
Projectiles (Experience Bottle, Dragon Fireball, Egg, Lingering Potion, Fireball, Llama Spit, Breeze Wind Charge, Snowball, Small Fireball, Wither Skull, Firework Rocket, Fishing Bobber, Shulker Bullet, Arrow, Trident, Splash Potion, Spectral Arrow, Ender Pearl, Wind Charge): 35 within a 5 block radius
Bosses (Wither, Warden): 5 within a 15 block radius
Laggyvillagers (Wandering Trader, Villager, Pillager): 18 within a 5 block radius
Farmable (Magma Cube, Parrot, Shulker, Frog, Slime, Skeleton Horse, Donkey, Fox, Snow Golem, Zombie Horse, Rabbit, Camel, Mooshroom, Goat, Mule, Bee, Cow, Cat, Llama, Zombie Nautilus, Happy Ghast, Turtle, Camel Husk, Axolotl, Polar Bear, Armadillo, Sheep, Trader Llama, Copper Golem, Iron Golem, Ocelot, Pig, Strider, Wolf, Hoglin, Nautilus, Sniffer, Chicken, Panda, Horse): 15 within a 5 block radius
Monsters (Bogged, Zoglin, Creaking, Stray, Evoker, Vindicator, Silverfish, Breeze, Zombie Villager, Endermite, Giant, Drowned, Elder Guardian, Blaze, Witch, Vex, Guardian, Piglin, Zombie, Ravager, Enderman, Illusioner, Skeleton, Zombified Piglin, Parched, Spider, Husk, Piglin Brute, Cave Spider, Creeper, Wither Skeleton): 15 within a 5 block radius
Watermobs (Glow Squid, Squid, Tadpole, Pufferfish, Tropical Fish, Salmon, Cod, Dolphin): 10 within a 5 block radius
Mobs (Ghast, Allay, Phantom, Bat): 30 within a 5 block radius
Fallingblock (Falling Block): 30 within a 5 block radius
Explosive (End Crystal, Tnt): 30 within a 5 block radius
Vehicles (Oak Boat, Tnt Minecart, Acacia Boat, Mangrove Boat, Oak Chest Boat, Birch Chest Boat, Cherry Boat, Pale Oak Chest Boat, Bamboo Raft, Acacia Chest Boat, Hopper Minecart, Jungle Boat, Birch Boat, Minecart, Bamboo Chest Raft, Chest Minecart, Dark Oak Chest Boat, Mangrove Chest Boat, Spawner Minecart, Spruce Boat, Command Block Minecart, Pale Oak Boat, Jungle Chest Boat, Dark Oak Boat, Furnace Minecart, Cherry Chest Boat, Spruce Chest Boat): 40 within a 8 block radius
Uncategorized (Lightning Bolt, Marker, Item Display, Text Display, Eye Of Ender, Ominous Item Spawner, Block Display, Area Effect Cloud, Mannequin, Interaction, Evoker Fangs): 150 within a 7 block radius