Mojira Archive
MC-249230

Frogs prioritize eating entities over panicking when being damaged

The Bug:

Frogs prioritize eating entities over panicking when being damaged.

Steps to Reproduce:

  • Give yourself a spawn egg that will always spawn small slimes with no AI.
  • /give @s minecraft:slime_spawn_egg{EntityTag:{id:"minecraft:slime",Size:0,NoAI:1b}}
  • Summon a slime using the spawn egg and summon a frog around ten blocks away from it.
  • Wait until the frog notices and begins pathfinding toward the slime.
  • As it approaches the slime, quickly attack the frog, and observe its behavior closely.
  • Take note of how the frog doesn't panic and instead continues pathfinding to the slime.

Observed Behavior:

Frogs don't panic when attacking them whilst they're pathfinding to entities that they can eat.

Expected Behavior:

Frogs would stop pathfinding to entities after being damaged and immediately start panicking.

Fixed

[Mod] Avoma

[Mojang] elvendorke

2022-03-18, 07:31 PM

2023-02-16, 10:13 PM

2022-05-24, 01:46 PM

9

4

Confirmed

Normal

Mob behaviour

22w11a - 1.19 Pre-release 122w11a, 22w12a, 22w13a, 22w14a, 22w15a, 22w17a, 1.19 Pre-release 1

1.19 Pre-release 3