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

AngerTime and AngryAt cannot be set on summon

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16 Pre-release 3, 1.16 Pre-release 4, 1.16 Pre-release 6, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w29a, 20w30a, 20w46a, 20w51a, 21w03a, 1.16.5, 21w08b, 21w16a, 1.18.1, 1.18.2, 22w11a, 22w18a, 1.19, 1.19.1 Pre-release 1, 1.19.2
    • Confirmed
    • Commands, Mob behaviour
    • Normal

    Description

      The bug

      Mobs can't be summoned with AngryAt; this immediately resets their AngerTime to 0.

      How to reproduce

      1. Spawn in any mob where you know its UUID
        /summon pig ~ ~ ~ {UUID:[I;1,2,3,4]}
      2. Summon a wolf
        /summon wolf ~ ~ ~ {AngerTime:10000,AngryAt:[I;1,2,3,4]}

        The wolf is not angry on spawn

      3. Using data get shows that its AngerTime has reverted to 0 and it is missing AngryAt altogether

      Note that Endermen are unreliable candidates for testing this bug, as their behavior when manually setting anger tags is inconsistent with the other neutral mobs (MC-188506).

      Attachments

        Activity

          People

            Unassigned Unassigned
            ChromaKey81 ChromaKey
            Votes:
            19 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              CHK: