mojira.dev
MC-267700

If the universal angry gamerule is set to True, the mob will not fight back at the player when the invisibility player hits the mob.

This bug affects all hostile mobs.

1. universalAnger gamerule set to True
2. Drink the Invisibility Potion
3. change it to Survival mode

[Hit a mob while invisible. As you can see from the outcome, mobs will stay still when attacked by a player unless they get 3.5 close to the player]

This affects all mobs, including Iron Golems, Withers, and Ravagers, so if you drink the Invisibility Potion, you won't have a hard time catching them.

Attachments

Comments 2

Duplicate of [MC-226532]. It's working as intended, mobs can attack invisible players at close range (3.5 blocks)

That's not this, that's without attacking them, this is with attacking them. The behavior is also unique to universal anger set to true.

Alex_light

(Unassigned)

Confirmed

Gameplay

Low

Mob behaviour

1.20.4, 23w51b

Retrieved