mojira.dev
MC-233762

Axolotls sometimes continue to move whilst playing dead

The bug

Axolotls sometimes continue to move whilst playing dead.

To reproduce

  1. Summon an axolotl.

  2. Summon a drowned.

  3. Wait for the drowned to attack the axolotl.

  4. Eventually the axolotl will play dead.

Alternative reproduction steps:
(Note: this is just for easier reproduction purposes. Editing the NBT data of an entity during its lifetime is generally not supported and is not considered a bug. However, as this issue does occur without the use of commands, it is much easier to visualize it using these steps.)

  1. Summon several axolotls.

  2. Execute the following command:

    /execute as @e[type=minecraft:axolotl] run data merge entity @s {Brain:{memories:{"minecraft:play_dead_ticks":{value:1000}}}}

Observed result

Sometimes the axolotl continues to move whilst still playing dead.

Expected result

Axolotls would always stay still whilst playing dead.

Linked issues

Attachments

Comments 6

Relates to MC-208833. Actually it is basically the same issue but this happens (mostly) on water instead of on land.

Also, this is not MC-225859 as the axolotls go back to the normal animation afterwards.

Can confirm this is still in 1.18 pre-1, it's very easy to duplicate if they just have momentum. They'll slowly continue to slide forward, even up blocks

Removed the "attack" part because I think that is MC-225859.

Can confirm in 1.19 and 22w24a.

ampolive

(Unassigned)

Confirmed

Mob behaviour

axolotl, mob-behavior, pathfinding

1.17.1, 21w37a, 21w40a, 21w42a, 21w43a, ..., 1.20, 1.20.1, 23w33a, 1.20.4, 24w11a

Retrieved