Can you keep a piglin from turning into a zombified-piglin in the overworld?

Is it possible for you to keep a piglin unzombified in the overworld, whether it be through use of commands or otherwise?

6 Answers

From the wiki:

When in the Overworld or the End, piglins transform into zombified piglins after 15 seconds.

This is part of their behavior, and cannot be protected from this any way in game (like putting them in water or protecting them from the sun, etc. After 15 seconds, they will turn into a Zombie Piglin.

However, through Commands:

IsImmuneToZombification: 1 or 0 (true/false) – If set to true, the piglin does not transform to a zombified piglin when in the Overworld.

By altering their NBT data, you can set this value to make them immune to this effect.

1

You can make a command block reapeat always active with the command: /event entity @e[type=piglin] stop_zombification_event

Currently no such option is known. Maybe in the future someone finds a way, but as of now, the change is inevitable.

The command in the repeating, always active command block should actually be:

/event entity @e[type=piglin_brute] stop_zombification_event

(make sure its pigeon_brute or it won't work)

1

Use this command:

/summon hoglin ~ ~ ~ {IsImmuneToZombification} 

This works as of Minecraft 1.16

As of update 1.16 and 1.17, it doesn't work.

I typed /event entity @e [type=minecraft:piglin] stop_zombiefication_event in to Bedrock edition, and it doesn't work. It just replies "stop_zombiefication_event couldn't be executed on piglin" and it zombies.

This also doesn't works with /event entity @e [type=minecraft:piglin] stop_transformating.

1

You Might Also Like