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

Mobs spawned from ominous trial spawners have three types of protection applied on armor, instead of only one

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.5 Pre-Release 1, 1.20.5
    • None
    • Confirmed
    • Enchantments, Mob spawning
    • Important
    • 1222173
    • Expansion B

      As of 1.20.5 pre-release 1, mobs from ominous trial spawners now have a chance to spawn with enchanted armor. However, despite being mutually exclusive, mobs do spawn with the three possible types of protection (projectile, fire and protection) in all armor pieces, instead of only spawning one type of protection per piece.

      How to reproduce

      1. Enter a trial chamber.
      2. Drink a bad omen potion.
      3. Trigger a zombie spawner.
      4. Execute the command on a zombie with enchanted armor (in this case, helmet):
        /item replace entity @s armor.head from entity <mob's uuid> armor.head
        

        Alternatively, use this command to check for the armor items:

        /data get entity <mob's uuid> ArmorItems
        
      5. Notice how the helmet you have (or the mob has) equipped has all protection enchantments.

      Expected result
      Mobs would only have one of the three protection enchants in the armor piece.

      Observed result
      All possible protection types are applied despite being mutually exclusive.

            Unassigned Unassigned
            Chavamix700 syarumi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: