Warden AI breaks (becomes passive, starts spamming random animations) if you repeteadly update its CustomName
Steps to Reproduce:
[Step 1] Summon a warden (use spawn eggs or /summon)
[Step 2] Place a repeating command block
/setblock ~ ~ ~ minecraft:repeating_command_block
[Step 3] Enter this command in the repeating command block:
/execute as @e[type=minecraft:warden] run data modify entity @s CustomName set value "hello world"
and set it to always active
[Step 4] Switch to survival mode and interact with the warden
Observed Results:
Warden becomes passive and may start spamming the sniff/dig animation.
Expected Results:
Warden's behavior should be unaffected by the custom name change and it should attack all mobs around it.
Notes:
This affects map/data pack makers, preventing them from updating the warden's custom name too often because its AI might break.
Thank you for your report!
However, this issue is Invalid.
Your game, launcher or server is modified.
If you can reproduce the issue in a vanilla environment, please recreate the issue.
Any non-standard client/server/launcher build needs to be taken up with the appropriate team, not Mojang.
A world which had previously been opened with a modified client might be corrupted. Please try reproducing the issue in a newly generated world.
Any plugin issues need to be addressed to the creator of the plugin or resource pack.
If you have problems on large servers like Hypixel, please contact them first as they run modified server software.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki