mojira.dev
MC-235027

Invisible players cannot provoke piglins, piglin brutes and hoglins when hitting/shooting them

The bug

When attacking a piglin, piglin brute or hoglin when invisible, that mob will not properly retaliate against the player. This is not an issue in 1.16.5 and below.

How to reproduce:

1. Spawn or find any of the listed mobs
2. Have the invisibility effect
3. Attack it

→ ❌  None of the mobs retaliate

Note: This has a major effect on bastions, as a player can simply drink an invisibility potion and kill the piglin brutes without them attacking the player. This was not an issue in 1.16.5 and I believe this issue caused MC-229169 and MC-229246.

Comments 1

⚠️ Please do not mark Unreleased Versions as affected. You don't have access to them yet.

-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit

CallMeChris

(Unassigned)

Confirmed

Mob behaviour

1.17.1, 21w37a, 21w39a, 21w43a, 21w44a, ..., 1.20.2 Release Candidate 2, 1.20.2, 23w42a, 1.21, 1.21.1

Retrieved