mojira.dev
MC-249843

Frogs attempt to pathfind to entities that are outside of the world border

The Bug:

Frogs attempt to pathfind to entities that are outside of the world border.

Steps to Reproduce:

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

    /worldborder center ~ ~
    /worldborder set 30
  2. Give yourself a spawn egg that will always spawn small slimes with no AI by using the command provided below.

    /give @s minecraft:slime_spawn_egg[minecraft:entity_data={id:"minecraft:slime",Size:0,NoAI:1b}]
  3. Summon a slime along the edge of the world border using the spawn egg.

  4. Set the world border to twenty blocks wide so that the slime is outside of the world border by using the command provided below.

    /worldborder set 20
  5. Summon a frog within the world border and wait until it notices and begins pathfinding towards the slime.

  6. Take note as to whether or not frogs attempt to pathfind to entities that are outside of the world border.

Observed Behavior:

Frogs attempt to pathfind to entities that are outside of the world border.

Expected Behavior:

Frogs would not attempt to pathfind to entities that are outside of the world border.

Attachments

Comments 2

Avoma

(Unassigned)

Confirmed

Gameplay

Low

Mob behaviour

frog, world-border

22w13a, 22w14a, 22w17a, 1.19, 1.19.1, ..., 1.19.4, 1.20.1, 1.21, 24w45a, 1.21.4

Retrieved