mojira.dev
MC-153432

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

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

Attachments

Comments 7

This still affects 1.16.1 and 1.16.2 prerelease 1

Can confirm in 20w51a.

Can confirm in 21w03a.

Can confirm in 21w06a.

Can confirm in 21w07a.

Can confirm in 21w15a.

Relates to MC-193313

DrownedZombie

(Unassigned)

Confirmed

Mob behaviour

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, ..., 21w05b, 21w06a, 21w07a, 21w15a, 24w39a

Retrieved