ModsFinder

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.

FabricServer-side onlyMIT LicenseOpen source1.21.9 – 1.21.11

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

  1. 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.

  2. Adjusted despawn distance

    The despawn check is capped at an upper distance bound, so mobs that have travelled through a portal keep their state.

  3. No effect in singleplayer

    Singleplayer worlds and servers with no other players online behave as they did before the mod.

  4. 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.

1.21.111.0.0
1.21.101.0.0
1.21.91.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

How it compares

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
Portalfarm Despawn FixFabric1.21.9 – 1.21.11Server-side only2025-11-07
Prevent DespawnFabric1.19.2 – 1.20.1Server-side only2023-06-15
Configurable Nether PortalsFabric1.19 – 1.20.2Server-side only2023-11-18

Questions

Does Portalfarm Despawn Fix need to be installed on clients?

No. Server owners install it, and players connect with no copy of their own.

Does the mod change anything in singleplayer?

No. It has no effect in singleplayer or when no other players are online on the server.

Which game versions does Portalfarm Despawn Fix support?

Its files target 1.21.9, 1.21.10 and 1.21.11, and the latest Fabric file is 1.0.0 for 1.21.11.

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

All projects

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…
MagicJinn, on the Modrinth page

Official listing

Owner
MagicJinn
Published
2025-11-07
Updated on Modrinth
2025-11-07
Facts verified
2026-10-15

Tags