PortalDespawnFix
Java mod listed for Minecraft 26.x. Downloads from the MC Java Mods app on Android.
⬇ Download on ModrinthFixes piglin despawns on servers for portal farms.PortalDespawnFix A lightweight, open-source Paper plugin designed to fix the classic multiplayer issue where Zombified Piglins (and other monsters) instantly despawn when they travel through Nether portals while another player is far away in the Overworld.
🌟 Features Zero Global Configuration Changes: Does not alter server-wide despawn ranges or ruin global mob mechanics.
Smart Portal Protection: Automatically catches entities traveling through portals and grants them temporary immunity (PersistenceRequired) from despawning.
Lightweight & Clean: No heavy databases, no unnecessary commands, and completely lag-free. It hooks purely into the native Paper Event-API.
Self-Cleaning: Safely restores normal vanilla despawn behavior after a short timeout (30 seconds) so your world doesn't fill up with stuck entities.
⚙️ How it Works When monsters travel through a portal into another dimension, the server immediately runs a check for nearby players. If other players are loaded elsewhere on the map (outside the 128-block radius), vanilla mechanics force the mobs to despawn instantly.
PortalDespawnFix intercepts this event the exact moment an entity passes through a portal, temporarily preventing the server from removing it. This ensures your gold farm's portal network functions smoothly even on populated multiplayer servers!
🚀 Installation Download the .jar file.
Drop it into your server's plugins folder.
Restart your server (or run /reload). No configuration needed!
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 26.2
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as PortalDespawnFix-1.0.jar — drop this file into the mods folder
- Download size: 3 KB
- Download link checked 8 Nov 2026 — working
These come from our own check of the pack file, not from the source page.