Vanilla Zombie Villagers can't be cured if they are modified
Summary
I'm working on Vanilla+ server, as of right now, we are using MythicMobs primarily to modify Vanilla Mobs to slightly change their behavior to provide unique player experience. I've made modifications to default Vanilla Monsters (including Zombie Villager), just by adding them drops and occasional chance for potion effect if they hit player, nothing else. Today, I've received reports that players can't cure Zombie Villagers, although they behave like they are going to change, they won't in the end. By removing ZOMBIE_VILLAGER from modification file, everything works correctly again.
These are the only changes I did to default Zombie Villagers:
ZOMBIE_VILLAGER:
Drops:
- VanillaMobDrop # Just "money 10-150 0.05" for now
Skills:
- potion{type=HUNGER;duration=180;lvl=1} @target ~onAttack 0.6
I've been looking for some setting or option that may prevent this default behavior but found out there is none, so I suppose this shouldn't had happened only because I added drops and skills without changing any other option.
Steps to reproduce
- Modify Vanilla Zombie Villager in Mobs config.
Example:
ZOMBIE_VILLAGER:
Drops:
- VanillaMobDrop
Skills:
- potion{type=HUNGER;duration=180;lvl=1} @target ~onAttack 0.6
- Restart server (or reload MythicMobs, there is not difference in result)
- Spawn Zombie Villager
- Use Weakness Splash Potion
- Use Golden Apple
- Wait until animation finishes to see result
Main Config
VanillaMobs.yml
Skiping VanillaMobDrop, there is literally just this:
VanillaMobDrop:
Drops:
# - cmd{c="money give <trigger.name> %rand/10-150%"} 0.05
- money 10-150 0.05
Current behavior
Zombie Villagers can't be cured by any means, regardless of the settings or way Zombie Villager was obtained.
Intended correct behavior
Zombie Villagers could be still curable and change in to normal Villager after cure timer runs out.
Server log file
Debug log snippet
Nothing on debug, before or after Zombie Villager cure ticked.
Proposed fixes
Some unintentional event checks probably. Potential and highly appreciated fix would be using default behavior and adding Mob specific option to PreventCure for Zombie Villager Types.