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