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

A mob's generic.follow_range attribute affects all their pathfinding

XMLWordPrintable

    • Unconfirmed
    • Mob behaviour

      mobs who have their generic.follow_range attribute modified seem to have their random wandering behavior affected as well, even when not following anything.

      For example, use

      /summon pig ~ ~ ~ {Attributes:[{Name:"generic.follow_range",Base:0.0}]}

      and compare its passive behavior to that of a normal pig. It will not move from its place at all.

      The base value for the attribute seems to determine the maximum distance a mob can wander in a single movement. If this is intended behavior, the attribute should be renamed 'generic.pathing_range' or similar.

            Unassigned Unassigned
            Trigonaut Joshua White
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: