It is not possible to edit piglin inventories with /item replace (just the hand and armour slots). This is inconsistent, as you CAN edit the inventories of villagers (villagers have villager.x slots counted from 0 to 7.), donkeys, llamas and even wandering traders and pillagers! Piglins' are not accessible in the same manner however.
Linked issues
Attachments
Comments 6
This issue is specially critical as removing items from the inventory using /data remove, merge, or modify doesn't seam to work.
In the latest snapshot, the repro case seems to work without an issue if you use `armor.chest` instead, this also works with other slots like `armor.legs` etc.
Is there something I'm missing here?
I've restored the description present at the time of triage, as I think the newer description was based on a misunderstanding of the original issue.
I can confirm for 1.16.3