How to get rid of zombie villagers in a world

How to get rid of zombie villagers in a world - Picturesque view of green valley in rough rocky highlands with small houses near narrow rural route under cloudy sky

I don't care about having regular zombies around, but my sister and I really dislike the new villager zombie skins of 1.9. Is there any way to ban them temporarily or even permanently in a world? I don't have a custom map like one of the questions before. I just want to clear the villager zombies. How is this done?



Best Answer

You can use command blocks on a clock to mark zombie villagers and remove them.

Labeling zombies if they are zombie villagers:

/scoreboard players tag @e[type=Zombie,tag=!ZombieVillager] add ZombieVillager {IsVillager:1b}

Teleporting them to the void to either kill or force them to despawn, which avoids item drops all over the place (as the items fall in the void to be deleted):

/tp @e[type=Zombie,tag=ZombieVillager] ~ -64 ~

You can also use the /kill command to speed up the dying process:

/kill @e[type=Zombie,tag=ZombieVillager]



Pictures about "How to get rid of zombie villagers in a world"

How to get rid of zombie villagers in a world - Content young woman with medical mask in hands standing near car on urban street
How to get rid of zombie villagers in a world - Young woman wearing medical mask standing near automobile on empty urban street
How to get rid of zombie villagers in a world - Planet Earth



How do you stop a zombie villager from spawning?

Teleporting them into the void allows the void to kill them or, more likely, forces them to despawn. If killed, the drops are instantly deleted in the void. If despawned, then there's no worry of any drops at all.

How do you cure a zombie villager in Minecraft 1.17 1?

The discount from curing a zombie villager persists permanently. If a villager is cured more than once, its discounts increase until the price reaches the minimum of one emerald.

What happens if you cure a zombie villager twice?

At over 32m from the player, mobs have a chance to despawn at random. You could probably get away with being in this area for a short time, but eventually the zombie villager will despawn. At over 128m from the player, mobs will despawn instantly.



How to cure Zombie Villagers and change their jobs in Minecraft | Village and pillage update




More answers regarding how to get rid of zombie villagers in a world

Answer 2

Texture pack way (easier)

You can make your own texture pack, where you will alter zombie villager texture by the normal one. Be sure to do it to baby villager, too.

Other textures don't need to be altered, texture packs are intelligent and will alter only things that they have different - all other textures will remain default ones.

Pros: You can use it with even other texture packs, you just need to order them properly. Also you can use them on other servers as well without being OP.

Cons: You have to study how texture packs are made, if you don't know it already. However there is A LOT of tutorials around. :)

Command way (you need to be OP)

In MC 1.9 you can have automatic command block with

/kill @e[type=Zombie]

But that will kill all zombies. The difference is only in NBT tag, and that difference the /kill command cannot distinguish.

So you will need to deal with it. Setup Scoreboard objective:

/scoreboard objectives add ZombieVillager dummy ZombieVillager

Now you will need One "always running" commandblock (blue one?) and one chain commandblock (green one?) First one - settuped that it runs always in loop, without redstone:

/scoreboard players set @e[type=Zombie] ZombieVillager 1 {IsVillager:1b}

Second one - conditional = yes (so it executes only when first does) , chained, no redstone needed:

/kill @e[type=Zombie,score_ZombieVillager=1]

Or alter zombies:

/entitydata @e[type=Zombie,score_ZombieVillager=1] {IsVillager:0b}

Be sure that you have those CB's in "everytime loaded area" -> chunk where /setworldspawn is.

Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Darya Sannikova, Gustavo Fring, Gustavo Fring, Pixabay