mojira.dev
MC-306101

After making a world peaceful, then normal, cannot make bee angry with commands

Description

  1. Summon a bee in an enclosure so it can’t fly away.

  2. Set difficulty to peaceful.

  3. Go into survival mode.

  4. 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}

  5. Of course the bee doesn’t become angry because of peacefulness. But then…

  6. Set difficulty to normal

  7. Run the command again.

  8. 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.)

Attachments

Comments 5

Can confirm for 26.1 Snapshot 5:

Did not mean to post it twice..

Thank you for your report!
After consideration, the issue is being closed as Won't Fix.

Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

I actually can’t reproduce this in snapshot 5 or 6.

In snapshot 5, the bee’s eyes turn red but it doesn’t attack in peaceful. Upon switching to normal, the bee instantly attacks, no need to run the command again.

In snapshot 6, the bee instantly stops being angry in peaceful. So upon switching to normal, the command must be run again. It then attacks right away as expected.

I think your issue is setting anger_end_time too low. 10000 ticks is only 8 minutes, so if your world has existed for longer than 8 minutes, that time has already expired.

kcrca

(Unassigned)

Confirmed

(Unassigned)

26.1 Snapshot 5

Retrieved