Disable Portal Checks

Disable Portal Checks

Mod

Disable unnecessary portal checks that cause lag.

Server Optimization

7,558 downloads
20 followers
Created6 months ago
Updated6 months ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Disable unnecessary portal checks that cause lag.

In pre-1.19.3, nether portals would send mobs through without regard for collisions on the other side. This can have the adverse effect of causing large mobs to suffocate if they spawn inside a suffocating block on the other side of the portal.

Since 1.19.3, Mojang implemented an algorithm to check if a mob will suffocate when going through in the default position, and will attempt to locate a "clear" position if it will. However, this is very computationally expensive and can significantly increase lag when dealing with large numbers of mobs being transported through portals.

This mod will eliminate the check and bring back pre-1.19.3 portal behavior. This will obviously return the edgecase where a mob will suffocate, but especially for portal-based farms, this mod will also greatly reduce the MSPT cost.


Project members

soronto

Owner


Technical information

License
MIT
Client side
unsupported
Server side
required
Project ID