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

NoAI tag causes mobs with default handheld items to lose them

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.11
    • None
    • Windows 7 x64, Windows 10 x64, Java 8 x64
    • Unconfirmed

      Using the "NoAI:1" when summoning mobs causes them to lose what they normally hold. For example, vindicators, skeletons, and zombie pigmen will no longer hold axes, bows, and swords respectively.

      What I expected to happen was...:
      NoAI:1 would simply cause the entity to not move

      What actually happened was...:
      Some held item data was nullified

      Steps to Reproduce:
      1. Summon a vindicator with the name "Johnny" and the tag NoAI:1
      2. Do entitydata on it and set NoAI:0
      3. It will attack everything it sees with its arm out without its normal axe

      I'm sure NoAI is used for displaying mobs, and currently as a boolean it will be difficult to change functionality later, but a "fix" for the two kinds of people (one wants NoAI to be used as display, the other as functionality) would be to introduce NoAI:2 and have that keep the usual mob items (basically an enum instead of a boolean)

            Unassigned Unassigned
            GoGoJJTech Jordan Gonzalez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: