mojira.dev
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.

Linked issues

Attachments

Comments 0

No comments.

Avoma

elvendorke

Confirmed

Normal

Mob behaviour

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

1.19 Pre-release 3

Retrieved