mojira.dev
MC-259304

Allays continue to pathfind to items that were previously within the world border

The Bug:

Allays continue to pathfind to items that were previously within the world border.

Steps to Reproduce:

  1. Set the world border's center to your current position and to forty blocks wide by using the commands provided below.

    /worldborder center ~ ~
    /worldborder set 40
  2. Summon a dirt block that's within the world border by using the command provided below.

    /summon minecraft:item ~15 ~ ~ {Glowing:1b,Item:{id:"minecraft:dirt",Count:1b}}
  3. Summon an allay and give it a dirt block.

  4. As soon as the allay starts pathfinding to the dirt block item, shrink the world border to twenty-five blocks wide by using the command provided below.

    /worldborder set 25
  5. Observe the behavior of the allay.

  6. Take note as to whether or not allays continue to pathfind to items that were previously within the world border.

Observed Behavior:

Allays continue to pathfind to items.

Expected Behavior:

Allays would not continue to pathfind to items.

Linked issues

Attachments

Comments 0

No comments.

Avoma

(Unassigned)

Confirmed

Mob behaviour

allay

1.19.3, 23w03a

Retrieved