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