The bug
If a warden gets angry at a villager, and said villager transforms into a zombie villager before the warden can kill it, the warden will not remain angry at this zombie villager and will need to become aggressive toward it a second time.
How to reproduce
Use Hard difficulty
Create an enclosure protected by sunlight
Spawn a villager inside
Throw a Poison II splash potion at the villager
Once the villager has been damaged 10 times, summon a warden
Once the warden roars at the villager, spawn a zombie next to the villager
Expected results
The warden would remain angry even when the targeted villager becomes a zombie villager.
Actual results
It loses its target.
Thank you for your report!
We're tracking this issue in MC-265066, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki