Portalfarm Despawn Fix
by MagicJinn
Portalfarm Despawn Fix is a Fabric server-side mod that stops mobs from despawning at portal farms on multiplayer servers.
What it does
Mobs transported through nether portals to a destination dimension can be removed immediately by a server's despawn check when players are far away. Portalfarm Despawn Fix sets an upper bound on that check, so mobs that have just arrived through a portal keep existing near a portal farm instead of vanishing as soon as they arrive.
The fix only changes behavior on a server with other players online. In singleplayer it does nothing, because the despawn range issue appears only when several players are connected. The author says the mod is named for the portal mechanic it fixes, which is most commonly seen in portal-based farms.
The mod is published for Fabric only, for 1.21.9, 1.21.10 and 1.21.11, and the latest file is 1.0.0 for 1.21.11. Only the server needs it, and players join without installing anything. It is released under the MIT License, and its source code and issue tracker are public.
Key features
Despawn bound for portal mobs
Mobs that arrive through a nether portal are no longer removed the moment a player is out of range at the destination.
Adjusted despawn distance
The despawn check is capped at an upper distance bound, so mobs that have travelled through a portal keep their state.
No effect in singleplayer
Singleplayer worlds and servers with no other players online behave as they did before the mod.
Compatible with Preserve
The author notes the mod works with Preserve, which handles the distance check twice in some cases.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
How it compares
Prevent Despawn is a Fabric server-side mod for 1.19.2 – 1.20.1, released under the MIT License but not open source. Configurable Nether Portals is also server-side, for 1.19 – 1.20.2, and is open source under the MIT License. Portalfarm Despawn Fix covers 1.21.9 – 1.21.11 with the same environment and license family, so it fits newer server builds.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Portalfarm Despawn Fix | Fabric | 1.21.9 – 1.21.11 | Server-side only | 2025-11-07 |
| Prevent Despawn | Fabric | 1.19.2 – 1.20.1 | Server-side only | 2023-06-15 |
| Configurable Nether Portals | Fabric | 1.19 – 1.20.2 | Server-side only | 2023-11-18 |
Questions
Does Portalfarm Despawn Fix need to be installed on clients?
Does the mod change anything in singleplayer?
Which game versions does Portalfarm Despawn Fix support?
In the catalog
Portalfarm Despawn Fix is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 19,862 mods support Minecraft 1.21.11.
More from MagicJinn
Similar mods
What the author says
A micro-mod for Fabric that fixes a common issue where mobs transported through nether portals on multiplayer servers would immediately despawn when there are players in the destination dimension. This mod prevents mobs from despawning in portal farms by setting an upper bound to the despawning check. Mobs that are x…
Official listing
- Modrinth page
- modrinth.com/mod/portalfarm-despawn-fix
- Owner
- MagicJinn
- Published
- 2025-11-07
- Updated on Modrinth
- 2025-11-07
- Facts verified
- 2026-10-15
