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

Pillagers with the "CanPickUpLoot" tag would rather pick up an ominous banner instead of a crossbow

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 1, Minecraft 1.14.3 Pre-Release 2, 1.14.4, 1.15 Pre-release 6, 1.15, 1.15.1 Pre-release 1, 1.15.2, 20w15a, 20w19a, 20w20b, 1.16 Pre-release 7, 1.16.1, 1.16.2 Pre-release 1, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Release Candidate 1, 1.16.4, 20w51a, 21w03a, 21w05a, 21w05b, 21w06a, 21w07a, 21w15a
    • None
    • Confirmed
    • Mob behaviour

      The bug

      Using a command to spawn an pillager (that is unarmed) with the CanPickUpLoot tag will not pick up anything, not even a crossbow. They only pick up ominous banners but will not equip it on their heads, but hold the banner in their mainhand.

      Attachments shown here will have red highlight in chat and shows the pillager's data using the /data get command.

      How to reproduce

      1. Run
        /summon pillager ~ ~ ~ {NoAI:1,CanPickUpLoot:1b}
        
      2. Drop a crossbow and any armor
        The pillager will not pick it up

            Unassigned Unassigned
            drownedzombie01 [Mod] DrownedZombie
            Votes:
            9 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: