mojira.dev
MC-301065

Zombified piglin tries to attack a player in creative mode

Description

Attack a zombified piglin in other modes (except creative mode) and switch into creative mode immediately causes zombified piglins to continue attacking a creative mode player.

However, other entities will not do so if you proceed similar actions above.

Steps to reproduce the issue

  1. (to better show the effect) place a command block, set it to repeating and enter command. Trigger the command block with redstone and let zombified piglins spawn.

  2. switch to survival mode and attack (one of) the zombified piglins and switch back to creative mode immediately.

  3. These piglins continue to chase and attack player (though they do no damage to creative player)

    summon minecraft:zombified_piglin ~ ~-3 ~

Expected result

Like other entities, stop attacking until the player switched to other game modes.

Actual result

Only the zombified piglin continue to attack players in creative mode. Other entities (warden or zombie) may not do so.

Linked issues

Attachments

Comments 2

Thank you for your report!
We're tracking this issue in MC-146524, 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 – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

systemd3127

(Unassigned)

Unconfirmed

(Unassigned)

1.21.8

Retrieved