Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 140
    • Issues 140
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #745

Closed
Open
Created Mar 19, 2022 by MaHl111@MaHl111

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

  1. Modify Vanilla Zombie Villager in Mobs config.

Example:

ZOMBIE_VILLAGER:
  Drops:
    - VanillaMobDrop
  Skills:
    - potion{type=HUNGER;duration=180;lvl=1} @target ~onAttack 0.6
  1. Restart server (or reload MythicMobs, there is not difference in result)
  2. Spawn Zombie Villager
  3. Use Weakness Splash Potion
  4. Use Golden Apple
  5. Wait until animation finishes to see result

Main Config

https://pastebin.com/TBQ8xEFk

VanillaMobs.yml

https://pastebin.com/tTXtJRmi

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.

Zombie_Villager_Cure_Bug

Intended correct behavior

Zombie Villagers could be still curable and change in to normal Villager after cure timer runs out.

Server log file

https://pastebin.com/DJy5VLty

Debug log snippet

https://pastebin.com/p4yWhZ5L

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.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking