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