Entities are among the most demanding things for a Minecraft server to handle, especially on versions 1.13+. Survival servers with mid-to-high player counts, like Vulengate, will often deal with thousands of entities loaded at a time. When the server has too many entities loaded at once, lag is inevitable, making the overall playing experience less enjoyable for everyone. Therefore, Vulengate has a mob cap implemented in order to try to limit the number of entities loaded by each player to avoid overloading the server.
Every 30 seconds, the server checks a 3 chunk range (5x5 area = 25 total chunks) around every player for excess entities.
| CHUNK | CHUNK | CHUNK | CHUNK | CHUNK |
| CHUNK | CHUNK | CHUNK | CHUNK | CHUNK |
| CHUNK | CHUNK | PLAYER | CHUNK | CHUNK |
| CHUNK | CHUNK | CHUNK | CHUNK | CHUNK |
| CHUNK | CHUNK | CHUNK | CHUNK | CHUNK |
If the server finds too many entities (as defined by the limits below) in an area, it prevents further mob spawning and, in some cases, removes excess mobs from the area.
When an area reaches an entity limit, the server prevents most types of mob spawning in that area. However, there are some methods of mob spawning that are not affected by this restriction.
Spawning methods that are not prevented by the entity limit
NOTE: Mobs exempted from spawn prevention are not necessarily exempt from removal. For example, the server may remove a blaze shortly after it spawns from a spawner if it exceeds a limit.
When an area reaches an entity limit, the server removes excess mobs in that area. Only certain types of mobs are subject to removal. Also, certain things are supposed to exempt mobs from being removed, but they currently seem to be buggy and cannot be relied on with confidence.
Characteristics that are intended to exempt mobs from removal
The above list may not necessarily always work as intended. Unfortunately, mobs that are despawned are unable to be rolled back!
There are two types of limits, one for groups of mobs and one for individual entities. The server may remove a mob or prevent it from spawning if it exceeds either type of limit. There isn't a cap (outside Minecraft's default) for mobs not listed in individual or group limits.
There are currently three groups of entities; "Hostile" and "Passive" and “Miscellaneous”. Both Hostile and Passive entities have a limit of 30 (with some exceptions), while Miscellaneous entities have no limit. If a mob goes over the total amount of a group limit, it will not spawn. If there are excess mobs from the "Hostile" group, the server removes them. The server does not remove excess mobs for hitting the "Passive" group limit. However, it will still remove certain types of mobs listed in the "Passive" group if they exceed an individual limit.
The server will not remove entities for exceeding individual limits unless "Remove Existing?" is "Yes" for them. A limit of -1 means there is no limit.
| Entity | Limit | Remove Existing? |
|---|---|---|
| Allay | 30 | Yes |
| Armadillo | 30 | Yes |
| Axolotl | 20 | Yes |
| Bat | 30 | Yes |
| Bee | 30 | Yes |
| Blaze | 30 | Yes |
| Bogged | 30 | Yes |
| Breeze | 30 | Yes |
| Camel | 30 | Yes |
| Cat | 30 | Yes |
| Cave Spider | 30 | Yes |
| Chicken | 30 | Yes |
| Cod | 30 | Yes |
| Cow | 30 | Yes |
| Creaking | 30 | Yes |
| Creeper | 30 | Yes |
| Dolphin | 30 | Yes |
| Donkey | 30 | Yes |
| Drowned | 30 | Yes |
| Elder Guardian | 30 | Yes |
| Enderman | 30 | Yes |
| Endermite | 30 | Yes |
| Ender Dragon | 30 | Yes |
| Evoker | 30 | Yes |
| Fox | 30 | Yes |
| Frog | 30 | Yes |
| Ghast | 30 | Yes |
| Glow Squid | 30 | Yes |
| Goat | 30 | Yes |
| Guardian | 30 | Yes |
| Hoglin | 30 | Yes |
| Horse | 30 | Yes |
| Husk | 30 | Yes |
| Illusioner | 30 | Yes |
| Iron Golem | 30 | Yes |
| Item Frame | 600 | Yes |
| Item Frame (Glow) | 600 | Yes |
| Llama | 30 | Yes |
| Magma Cube | 30 | Yes |
| Minecart | 12 | No |
| Minecart with Chest | 10 | No |
| Minecart with Furnace | 10 | No |
| Minecart with Hopper | 10 | No |
| Minecart with TNT | 10 | No |
| Mooshroom | 30 | Yes |
| Mule | 30 | Yes |
| Ocelot | 30 | Yes |
| Painting | 60 | Yes |
| Panda | 30 | Yes |
| Parrot | 30 | Yes |
| Phantom | 30 | Yes |
| Pig | 30 | Yes |
| Piglin | 30 | Yes |
| Piglin Brute | 30 | Yes |
| Pillager | 30 | Yes |
| Polar Bear | 30 | Yes |
| Pufferfish | 30 | Yes |
| Rabbit | 30 | Yes |
| Ravager | 30 | Yes |
| Salmon | 30 | Yes |
| Sheep | 30 | Yes |
| Shulker | 30 | Yes |
| Silverfish | 30 | Yes |
| Skeleton | 30 | Yes |
| Skeleton Horse | 30 | Yes |
| Slime | 30 | Yes |
| Sniffer | 30 | Yes |
| Snow Golem | 30 | Yes |
| Spider | 30 | Yes |
| Squid | 30 | Yes |
| Stray | 30 | Yes |
| Strider | 30 | Yes |
| Tadpole | 30 | Yes |
| Trader Llama | 30 | Yes |
| Tropical Fish | 30 | Yes |
| Turtle | 30 | Yes |
| Vex | 30 | Yes |
| Villager | 75 | Yes |
| Vindicator | 30 | Yes |
| Wandering Trader | 30 | Yes |
| Warden | 15 | Yes |
| Witch | 30 | Yes |
| Wither | 30 | Yes |
| Wither Skeleton | 30 | Yes |
| Wolf | 30 | Yes |
| Zoglin | 30 | Yes |
| Zombie | 30 | Yes |
| Zombie Horse | 30 | Yes |
| Zombie Villager | 30 | Yes |
| Zombified Piglin | 30 | Yes |