I'm halfway through building a villager cure station from a zombie spawner however since 1.11 zombie villagers don't spawn there anymore...

Is there still a way to maybe change this feature back through the use of a datapack or something?

I'm playing on 1.14.1 Pre-release.

| improve this question | | | | |
  • You don't even need a data pack, you can make the spawner spawn multiple different entities, I think. I'll write an answer once I'm on a computer with Minecraft on it again. – Fabian Röling May 9 '19 at 14:53

A spawner can choose between entities from an arbitrarily big set that you specify.

For example if you want 95% of entities from a spawner to be zombies and 5% to be zombie villagers, you can use this command:

/setblock ~ ~ ~ spawner{SpawnPotentials:[{Entity:{id:"zombie"},Weight:19},{Entity:{id:"zombie_villager"},Weight:1}]}

This isn't quite the same behaviour as it used to have in old versions, for example I'm pretty sure that it's slower, but you can adjust all the parameters you find here (archive) however you like.

(Omitting the Weight parameters gives 100% of the spawn probability to the first entity type.)

| improve this answer | | | | |
  • I've been testing it and I'm not getting any zombie villagers. Here is a screenshot of the nbt data of the spawner: imgur.com/a/aPAQP7j As you can see it also has a spawnData entry, is this a problem? – BRHSM May 11 '19 at 12:40
  • Nevermind a villager just spawned. however I feel like it's less than 5% at this point. – BRHSM May 11 '19 at 12:47
  • 5% is one in 20, it takes a while. I also tested it, it really does take a while, especially because the spawning is slower than for normal spawners, if you don't specify anything in that regard, but after about 10-15 spawns, I got a regular zombie villager and a baby zombie villager at once. – Fabian Röling May 11 '19 at 15:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.