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