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

Reopening world causes all zombie pigmen near angry zombie pigmen to become angry

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 15w51b, Minecraft 16w38a, Minecraft 1.13.1, Minecraft 1.13.2-pre1
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      When you have for example one angry zombie pigmen and other ones that are not angry around you and reopen the world, all zombie pigmen around you are angry. This probably affects loading an unloaded chunk as well.

      The reason

      The reason for this is that once the NBT data of a zombie pigmen is loaded and the value of the HurtBy tag is not an empty String, it adds new AI tasks. However these AI tasks have no way to tell whether the pigman was just summoned or if it was loaded only so they will start and make nearby pigmen angry as well.

      How to reproduce

      1. Summon a pigman
      2. Switch to Survival mode
      3. Punch the pigman
      4. Summon more pigmen
        They should not be angry
      5. Reopen the world
        All the zombie pigmen around you are angry

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              marcono1234 [Mod] Marcono1234
            • Votes:
              5 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                CHK: