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