Exactly what the title says. If a mob attacks a Slime or Magma Cube, the Slime or Magma Cube will just ignore that mob and just let itself get killed.
How to replicate:
Spawn a Slime or Magma Cube (duh)
Give it the Resistance 5 effect
Spawn a Zoglin, and wait for it to go after the Slime or Magma Cube
Expected results:
The Slime or Magma Cube ignores the Zoglin initially, but fights back once attacked.
Actual Result:
The Slime or Magma Cube continues ignoring the Zoglin when attacked, and just lets itself get hit over and over
Linked issues
Comments 2
I can confirm this issue. This relates to MC-302622.
Just spent half an hour testing, it seems to be an issue with ANY mob that can provoke another mob without some sort of external modification. The mobs I tested are as follows:
Llama, Pufferfish, Skeleton, Stray, Drowned with Trident, Witch, Piglin with Crossbow, Warden, Blaze, Ghast, Shulker, Johnny Vindicator, Evoker, Pillager, Breeze, and Bogged. Neither Slimes nor Magma Cubes retaliated against ANY of these mobs.