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