Portalfarm Fix
by Nyarde
Portalfarm Fix stops mobs from despawning when they are carried through a nether portal on a multiplayer server, which is a problem for portal farms.
What it does
Portalfarm Fix is a Fabric micro-mod addressing a recurring problem where mobs carried through nether portals disappear on multiplayer servers. Mobs in that case can be despawned right away once the destination dimension loads, which breaks portal-based farms. Portalfarm Fix sets an upper bound on the despawning check so that mobs away from a player are kept rather than removed immediately. It is based on the original Portalfarm Despawn Fix and has no effect in singleplayer.
Under vanilla behavior, mobs more than a set distance from a player despawn immediately. With the fix, that distance is adjusted so that mobs at a moderate range from the player are no longer removed as soon as they arrive. The mod is server-side only, so players join without installing it and servers need it alone. It is open source under the MIT License and is published for 26.1.2 and 26.2, with 1.0.2 for 26.2 as the latest file, dated 2026-06-30.
Key features
Keeps transported mobs
Mobs that arrive through a nether portal are kept in the destination dimension instead of being removed at once.
Upper bound on despawning
An upper bound on the despawn check stops mobs from being removed while they are still near enough to a player.
Multiplayer focus
The problem it targets appears on multiplayer servers, so the fix has no effect in singleplayer worlds.
Adjusted distance rule
Mobs beyond the original despawn distance are handled under a changed rule, so farms that rely on portal travel keep their mobs.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Portal-based mob farms
Farms that move mobs through nether portals on a server keep the mobs that would otherwise despawn as they enter the destination dimension.
Who it’s for: Server owners who run portal-based mob farms on multiplayer servers and want mobs transported through nether portals to remain in the destination dimension.
How it compares
Let There Be Portal Farms! is also a Fabric server-side mod under the MIT License, but it targets versions 26.2 – 26.3 rather than 26.1.2 and 26.2. Portal Anchor is a server-side option under the MIT License for 26.1.2 only. Simple Hostile Despawn is a server-side Fabric mod for 26.1.1 – 26.1.2 with All rights reserved and is not open source.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Portalfarm Fix | Fabric | 26.1.2 – 26.2 | Server-side only | 2026-06-30 |
| Let There Be Portal Farms! | Fabric | 26.2 – 26.3 | Server-side only | 2026-09-28 |
| Portal Anchor | Fabric | 26.1.2 | Server-side only | 2026-05-24 |
| Simple Hostile Despawn | Fabric | 26.1.1 – 26.1.2 | Server-side only | 2026-04-05 |
Questions
Does Portalfarm Fix need Fabric API?
Does the server need Portalfarm Fix or can players join without it?
Will Portalfarm Fix change mob behavior in singleplayer?
In the catalog
Portalfarm Fix is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 13,894 mods support Minecraft 26.2.
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. Vanilla…
Official listing
- Modrinth page
- modrinth.com/mod/portalfarm-fix
- Owner
- Nyarde
- Published
- 2026-06-05
- Updated on Modrinth
- 2026-06-30
- Facts verified
- 2026-10-15
