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.
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+