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