The bug
Dispensers are able to dispenser armor, elytra, mob heads and carved pumpkins on mobs capable of wearing them, such as zombies, skeletons and piglins. However, when the mob's CanPickUpLoot tag is false, the dispenser seems to be unable to dispense the equipment on the mob.
How to reproduce
Make sure that gamerule mobGriefing is true
Spawn a zombie
Throw an item next to the zombie, see if it can pick it up
If it can, dispose of the zombie, and repeat steps 2 and 3. if it cannot, proceed to the next step
Place a dispenser facing the zombie. Put a piece of armor, elytra, mob head or carved pumpkin in the dispenser
Power the dispenser. Observe that the zombie does not become equipped, and the equipment is shot out of the dispenser in item form
Spawn a different zombie that can pick up items, and repeat steps 5-6. Observe if it gets equipped with the equipment
This bug does not exist for the deep frozen ocean biome.
Expected behavior
The dispenser should equip the mob with the armor, elytra, mob head or carved pumpkin, regardless of if the mob's CanPickUpLoot tag is true or false.
Actual behavior
The dispenser cannot equip the mob with the armor, elytra, mob head or carved pumpkin, if the mob's CanPickUpLoot tag is false.
Linked issues
duplicates 1
Comments 2
Thank you for your report!
We're tracking this issue in MC-190027, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Seems to be a duplicate of MC-190027.