mojira.dev
MC-267587

Some mobs attached to fences via leads don't pathfind or have difficulty pathfinding to players that are tempting them

The Bug:

Some mobs attached to fences via leads don't pathfind or have difficulty pathfinding to players that are tempting them.

This issue cannot be seen with mobs such as pigs, cows, sheep, or chickens, therefore introducing an inconsistency.

Affected Mobs:

  • Armadillo

  • Axolotl

  • Camel

  • Frog

  • Goat

  • Sniffer

Steps to Reproduce:

  1. Place down a fence and obtain a lead.

  2. Summon an armadillo and obtain a spider eye.

  3. Attach the armadillo to the fence via the lead.

  4. Hold the spider eye in your hand while close to the armadillo.

  5. Double-check that the armadillo is tempted by the item that you're holding in your hand by using the command provided below.

    /data get entity @e[type=minecraft:armadillo,limit=1,sort=nearest] Brain.memories."minecraft:is_tempted".value
    /data get entity @e[type=minecraft:armadillo,limit=1,sort=nearest] Brain.memories."minecraft:is_tempted".value
  6. Move backward in an attempt to make the armadillo follow you.

Observed Behavior:

Some mobs don't pathfind or have difficulty pathfinding to players that are tempting them.

Expected Behavior:

All mobs would pathfind to players that are tempting them.

Linked issues

Attachments

Comments 3

Seems to be fixed in version 1.20.5 pre-release 1. I couldn't reproduce.

@unknown Are you sure? I can still reproduce this bug in 1.20.5-pre1.

@unknown I'm gonna retest the bug on version 1.20.5 pre-release 2 and see if it can be reproduced, but I tried reproducing the bug and was unsuccessful.

Update: I just retested the bug and can confirm in version 1.20.5 pre-release 2.

Avoma

(Unassigned)

Community Consensus

Platform

Normal

Mob behaviour

23w51b, 24w10a, 1.20.5 Pre-Release 1, 24w19b, 1.21, 1.21.4, 1.21.5, 25w21a

Retrieved