mojira.dev
MC-115396

Most mobs on fire don't try to extinguish themselves

The bug

Some mobs don't try to get into the water when they are on fire (even if for example hostile mobs don't have any player around them or that player is in creative mode).

List of these mobs:

  • Creeper

  • Endermite

  • Evoker

  • Ocelot

  • Zombie Villager

  • Ravager

  • Spider

  • Iron Golem

  • Piglin

  • Axolotl

  • Villager

  • Cat

  • Panda

  • Hoglin

  • Turtle

  • Silverfish

  • Vindicator

  • Wolf

  • Zombie

Additional mobs that try to get into the water, but seem to underestimate their hitboxes:

  • Donkey

  • Horse

  • Goat

  • Cow

How to reproduce

  1. Spawn one of the mobs on this list near water.

  2. Set them on fire with flint and steel.

  3. See how they don't try to get into the water.

Linked issues

Comments 18

In 1.12 this appears to be one class (net.minecraft.entity.ai.EntityAIPanic) which also handles panic when being attacked, therefore the class needs to be split since monsters are supposed to fight back when attacked.

Can confirm for MC 1.12.1.

Confirmed for 1.13.1.

Affects 20w29a except for skeletons

Can confirm in 21w06a.

8 more comments

Can confirm in 21w44a.

Still in 1.18 Pre-1, and also affects Goats

Can confirm in 1.18.2.

Block twenty-eight

Mask3D_WOLF

(Unassigned)

Confirmed

Gameplay

Normal

Mob behaviour

ai, fire, pathfinding

Minecraft 1.11.2, Minecraft 17w13b, Minecraft 17w14a, Minecraft 17w16b, Minecraft 17w17a, ..., 22w05a, 1.18.2, 22w14a, 22w45a, 1.21.3

Retrieved