Noticed this when updating a data pack from 1.16.1 to 1.18.1 inconsistency in the way Enderman acted.
Running the following commands in 1.16.1 will result in all Enderman attacking the closest player. Running this command in 1.17 and beyond will result in nothing, even though they should work the same.
execute as @e[type=enderman] at @s run data modify entity @s AngryAt set from entity @p UUID
execute as @e[type=enderman] at @s run data merge entity @s {AngerTime:99999}
There were no changes noted in any update between 1.16.1 and 1.18.1 (did not track exact version this started on) noting any changes to the way Endermen anger works, thus I assume this is a bug.
Thank you for your report!
We're tracking this issue in MC-188506, 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
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.