Description
Summon a bee in an enclosure so it can’t fly away.
Set difficulty to peaceful.
Go into survival mode.
Run the command (replacing the UUID with your UUID): /data merge entity @n[type=bee] { angry_at: [I; 1408807480, -55032620, -1118136527, -535790252], anger_end_time: 10000}
Of course the bee doesn’t become angry because of peacefulness. But then…
Set difficulty to normal
Run the command again.
The bee will still not become angry.
(I’m not 100% sure that running the command while in peaceful matters, but it certainly works.)
(I originally posted this as MC-306005, but didn’t realize that making the world peaceful mattered, until after I dug into it more when that couldn’t be reproduced. But my updates on that bug didn’t reopen it, so I’m going a better, separate bug report.)
Can confirm for 26.1 Snapshot 5: