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

Converted witches lose their armor yet are still protected by it

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w37a
    • 24w36a
    • None
    • Confirmed
    • Mob behaviour
    • Normal
    • 1295151
    • Expansion B

      When villagers with armor are converted to witches, when looking in the witch data it appears to not have any armor, yet the witch has increased resistance as if the witch did have armor.

      Reproduction:

      1. Summon a villager and give it armor
      2. Strike the villager with lighting
      3. Run /data get entity @n[type=minecraft:witch] to get the data of the witch
      4. Notice how ArmorItems property does not contain any armor, yet the witch has some protection. you can confirm this by trying to kill the witch with a weapon or with /damage (and comparing it to a regular witch)

      Expected Behavior:
      Armor shows up on the ArmorItems field, or witch loses armor protection completely.

      Observed Behavior:
      Armor does not show up in the ArmorItems field but witch receives protection.

      Note:
      When adding armor to witch after the conversion, using /data merge command, added armor increases protection witch receives on top of the main "ghost armor".

      Video showcasing the bug: https://drive.google.com/file/d/1pAr9lRSQyk_YlCDBdmk6G8E754gHDt5C/view?usp=sharing 

            cojomax99 [Mojang] Cory Scheviak
            SomeoneM16 SomeoneM16
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: