Minecraft how to stop zombie pigmen from spawning
Christopher Ramos
Published Mar 30, 2026

There are several ways you can try to stop Zombie Pigmen from spawning in the nether by breaking their spawn rules: Place half-slabs on every spot you do not want them to spawn on. Replace the Netherrack or Soul Sand with glass, or any transparent material.*
There are other answers below:
There are several ways you can try to stop Zombie Pigmen from spawning in the nether by breaking their spawn rules: Place half-slabs on every spot you do not want them to spawn on. Replace the Netherrack or Soul Sand with glass, or any transparent material.*
So far the only way to prevent pigmen from spawning is to turn off your Nether portal. You can do that by dumping water on the inside of the portal frame using …
So far the only way to prevent pigmen from spawning is to turn off your Nether portal. You can do that by dumping water on the inside of the portal frame using a bucket or dispenser with a full bucket inside. Lighting the portal doesn’t stop the pigmen from spawning, because I have a very well lit portal and one still spawned nearby.
Other than halfslabs, the only way to make the piggies stop spawning is turning to peaceful, as I recall. You could use glass, leaves or another transparent block over your railroad so nothing can get into the way, though. You don’t take suffocation damage from transparent blocks. Also, it doesn’t impede your movement in the cart.
Try putting transparent blocks on top of the rail [EX: Halfslabs, Glass, Leaves, Glowstone], you won’t suffocate and mobs won’t spawn. I’ve seen people do this in their lets plays. Ty! Just the answer I needed Now time to test it and see if it works!
Hi, I’ve been having trouble keeping zombie pigmen out of my nether house, as the title suggests. I replaced the floor with cobble, but they keep spawning in my house, and are a real nuisance. Other people in the server keep making them mad, making no place safe.
Put slabs, glass or glass panes on top of the track. This way you’ll be able to ride through your tunnel safely, but pigmen can’t spawn on the rails. Slabs …
Hi, Due to my nether hub being spawn proofed every time i enter the nether and return to the overworld i have around 25+ Pigmen stuck in my portal (actually on the inside obsidian) i currently have gates stoping them from flooding out but it makes it impossible for me to get out of the portal i tried removing the gates but when i do that i get way over 100 of them all over my base, …
How do I get rid of Zombie Pigman aggro? 3 Answers. If you don’t want to wait, you need to make the pigmen despawn – for example by moving over 128 blocks in one direction and coming back. This will make all angry pigmen in the area despawn and while you are coming back new pigmen will spawn that would be passive.
Related Questions
How to stop pigmen from spawning in Minecraft?
5 Answers 5. So far the only way to prevent pigmen from spawning is to turn off your Nether portal. You can do that by dumping water on the inside of the portal frame using a bucket or dispenser with a full bucket inside.
Do zombie pigmen spawn inside the portal frame?
According to this answer, zombie pigmen spawn inside the portal so you can’t put a transparent block to prevent spawning either. Yes, they’re not spawing in the portal frame, guys. They’re using the portal and teleporting from the Nether to the Overworld, which mobs can do. @Wyatt That is incorrect.
How do I get rid of pigmen from my Portal?
You can do that by dumping water on the inside of the portal frame using a bucket or dispenser with a full bucket inside. Lighting the portal doesn’t stop the pigmen from spawning, because I have a very well lit portal and one still spawned nearby.
How do you get zombies to stop coming through portals?
Next I placed signs inside the trench on the bottom of the portal (the signs will make the zombies think there is a block there they can stand on so they will walk off and without them the zombies will just stand on the portal frame crowding it to prevent falling which over time can cause issues since they dont go away on there own).