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

Most mobs with CanPickUpLoot prefer swords over axes and will downgrade their weapon

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w45a
    • 1.16.1, 20w27a, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Pre-release 3, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4, 20w45a, 20w46a, 20w49a, 20w51a, 21w03a, 1.16.5 Release Candidate 1, 1.16.5, 21w07a, 21w08b, 21w11a, 1.17, 1.17.1 Pre-release 1, 1.17.1, 21w40a, 21w44a, 1.18 Release Candidate 1, 1.18.1, 22w03a, 1.19.4, 23w14a, 1.20.1, 1.21
    • None
    • Confirmed
    • Mob behaviour

      Steps:

      1. Summon vindicator with command
        /summon vindicator ~ ~ ~ {CanPickUpLoot:1b,HandItems:[{id:iron_axe,Count:1},{}]}
        
      2. Drop wooden sword
      3. Vindicator will downgrade his good weapon to a worse weapon. Afterwards will only upgrade to better swords

            Dat12 [Mojang] etanaratsastaja
            Ozone Ozone
            Votes:
            10 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: