Too Many Entities

Too Many Entities

Mod

Hide extra entities in order to reduce lag, especially with mob farms. The mobs still exist in the world, they are just not visible.

Client Game MechanicsOptimizationUtility

3,803 downloads
18 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

Description

This mod allows you to hide extra entities in order to reduce lag, especially with mob farms. The mobs still exist in the world, they are just not visible. In order to use the mod, you first have to configure a maximum entity limit (which can either be set per entity type, or globally). By default, this is set to 64. If the entity limit is set to 64 and it is applied globally, then the mod will prevent rendering more than 64 of one entity type at a time. You can also specify a limit for each entity type, for example a limit of 5 cows, meaning that at all times there will be no more than 5 cows rendered on screen. This is particularly useful for mob farms, where you can have up to hundreds of entities that aren't necessarily important to see, and hiding them can give a big increase in FPS depending on how many entities there were.

This mod requires Cloth Config to run, as well as Architectury API for versions of the mod past v1.0.1. For Fabric, this mod requires the Fabric API, and it is strongly recommended to install Mod Menu. This will allow you to modify the mod's configuration without having to restart the game. If Entity Culling is installed, there is an option you can toggle that will make the mod work with Entity Culling, for an extra boost in performance

If the mod isn't doing anything, make sure you have it configured properly. By default, the mod doesn't hide extra entities in order to avoid unexpected/confusion behavior. You can enable this by toggling the "Apply Max Entity Count Globally" setting, or tweaking the individual maximum entity counts in the "Entity" tab of the settings menu.

Performance

In order to test the efficiency of this mod, I summoned many cows and compared the FPS when using the mod to cap the number of cows to 100, and when the mod is disabled. On the left is when the mod is disabled, and on the right is when the number of cows is capped.

On the left, 700 cows are being displayed, and the FPS is 50. On the right, the mod is activated, and the number of rendered cows is capped to 100, bringing the FPS up to 195 On the left, 200 cows are being rendered, and the FPS is 152. On the right, the number of cows rendered is limited to 100, and the FPS is 229.


Project members

Discusser

Member

Details

Licensed MIT
Published 4 months ago
Updated 3 months ago