Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-263152

Some mobs can move when no player is nearby

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.19.4, 23w14a, 1.20 Pre-release 2, 1.20 Release Candidate 1, 1.20, 1.20.1, 1.20.4, 23w51b
    • None
    • Confirmed
    • Mob behaviour, Performance
    • Normal
    • Gameplay

      Affected mobs:

      • Frogs
      • Zoglins
      • Goats
      • Cats
      • Foxes
      • Ghasts (probably intended since they are flying mobs and can target you from >32 blocks. This also seems to be an outlier since all the other mobs are from Village & Pillager or later, and ghasts have always been this way iirc.)
      • Camels

      Mobs aren't meant to move more than about 2 chunks away from the player, per the resolution of MC-47533. Allowing them to causes issues, the passive mobs such as goats  and frogs can end up in completely the wrong biomes, and it also causes performance issues; however certain new mobs are an exception to this rule.

      Some mobs which have complex actions are exempt from this rule such as sniffers, (the have to move in order to be able to dig up blocks), villagers, etc. but camels don't have this kind of behavior and thus shouldn't be exempt from this rule.

      To reproduce, spawn a few pigs and camels, then go into spectator mode. The pigs will not walk around, but the camels will.

       

      This also affects Villagers, Piglins, Piglin Brutes, and Sniffers, but I think these are intended because they have complex AI (villagers have to be able to pathfind to their workstation, Piglins and Brutes participate in fighting hoglins, and Sniffers need to be able to move to a new location to dig up seeds.)

            Unassigned Unassigned
            Thunderstorm11 Brevort
            Votes:
            6 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: