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

Ghasts don't aggro unless you're at the exact same height they are flying

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • Minecraft 14w08a, Minecraft 14w10b, Minecraft 14w10c, Minecraft 14w11b, Minecraft 14w17a, Minecraft 14w18a, Minecraft 14w18b, Minecraft 14w19a, Minecraft 14w20b, Minecraft 14w21b, Minecraft 14w29b, Minecraft 14w31a, Minecraft 14w32a, Minecraft 14w34d, Minecraft 1.8-pre1, Minecraft 1.8-pre2, Minecraft 1.8-pre3, Minecraft 1.8, Minecraft 1.8.1-pre1, Minecraft 1.8.1-pre4, Minecraft 1.8.1, Minecraft 1.8.2-pre1, Minecraft 1.8.7, Minecraft 1.8.8, Minecraft 15w33b, Minecraft 15w33c, Minecraft 15w35b, Minecraft 15w45a, Minecraft 1.9, Minecraft 1.10.2, Minecraft 16w43a, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.13, Minecraft 18w30b, Minecraft 18w32a, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w09a, Minecraft 1.14 Pre-Release 5, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 1, 1.14.4, 19w34a, 19w35a, 19w36a, 19w38b, 19w39a, 1.15 Pre-release 1, 1.15 Pre-release 4, 1.15.1, 1.15.2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w12a, 20w13b, 20w14a, 20w15a, 20w16a, 20w17a, 20w18a, 20w19a, 20w20b, 20w21a, 20w22a, 1.16 Pre-release 2, 1.16 Pre-release 5, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 3, 1.16.2 Release Candidate 2, 1.16.2
    • None
    • Confirmed
    • Mob behaviour

      The bug

      Ghasts cannot see you until you get near eye level with them. I've only noticed this with the new mob AI update in the latest snapshots, so I'm guessing the ghast has the same problem that all the other new AI mobs have: they can't see you too well along the y-axis. When you get almost eye level of the ghast, it will shoot.

      Update: Tested in 1.14.4: They only aggro if you're on the same level, but once they're aggressive they'll shoot you from any height

      Code analysis

      Code analysis by Sonicwave can be found in this comment.

        1. 2014-02-23_19.07.03.png
          2014-02-23_19.07.03.png
          154 kB
        2. 2014-02-23_19.07.10.png
          2014-02-23_19.07.10.png
          246 kB
        3. 2014-02-23_19.08.01.png
          2014-02-23_19.08.01.png
          407 kB
        4. 2014-03-13_15.33.51.png
          2014-03-13_15.33.51.png
          287 kB

            Unassigned Unassigned
            jouppi22 Jon1337
            Votes:
            80 Vote for this issue
            Watchers:
            26 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: