Piglins can only use totems in their main-hand, not off-hand
With /replaceitem on piglin's off-hand, the piglins will empty their off-hand instead of holding it, this may have something to do with bartering mechanics.
If the piglin's inventory is full, they still refuse to put the totem in off-hand and will throw it away instead.
What I expected to happen was...:
Make the piglins use the totem when killing them in their off-hand
What actually happened was...:
They put the totem back to inventory slot, and dies when i kill them, while the totem drops
Steps to Reproduce:
1. /replaceitem on piglin's off hand
2. Kill the piglin
However, piglin brutes are unaffected and utilizes totem in off-hand as normal.
Thank you for your report!
However, this issue is a Duplicate of MC-172600.
It has been linked to this report. If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki