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
Run
/summon pillager ~ ~ ~ {NoAI:1,CanPickUpLoot:1b}
Drop a crossbow and any armor
→ ❌ The pillager will not pick it up
Attachments
Comments 7
Relates to MC-193313
This still affects 1.16.1 and 1.16.2 prerelease 1