mojira.dev
MC-209304

Pillagers have an unused Inventory nbt tag

Pillagers have an Inventory nbt tag which is not used at all, especially in survival since pillagers are never capable of picking up items from the ground. This nbt tag can be seen by using the /data command on a pillager:

/data get entity @e[type=pillager,limit=1]

After using the command, the Inventory nbt tag can be seen at the very end of the following data of the specific pillager.

Linked issues

Attachments

Comments 5

Hmm, did you try to give them anything in their inventory, if so, did they drop the items when you killed them?

Can confirm in 20w51a.

Can confirm in 21w03a.

Can confirm in 1.19.3 and 23w03a

DrownedZombie

(Unassigned)

Community Consensus

(Unassigned)

pillager

1.16.4, 20w51a, 21w03a, 1.16.5, 21w05a, ..., 21w11a, 21w16a, 21w17a, 1.19.3, 23w03a

Retrieved