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