Mobs never drop their gear unless killed by the player
The bug
Mobs never drop their armor or tools/weapons they are holding in their hands, unless they are killed by the player. They will only drop their tools/weapons if the player has the last hit on the mob.
This is probably working as intended. However, MC-99255 has been fixed, causing experience points and gear to be dropped even without player interaction in some cases.
To reproduce
- Run
/summon husk ~ ~ ~ {ArmorDropChances:[0.0f,0.0f,0.0f,1.0f],ArmorItems:[{},{},{},{id:"minecraft:iron_helmet",Count:1b}],HandDropChances:[1.0f,0.0f],HandItems:[{id:"minecraft:iron_sword",Count:1b},{}]} - Kill the husk with a sword
The husk always drops its helmet and sword. You can repeat this as often as you want- Run that command again
- Kill the husk with /kill, or let it die on magma blocks, through fire, or through other means
The husk won't drop its gear
Video
2019-04-28, 07:51 PM
2021-06-01, 10:29 AM
2021-06-01, 10:29 AM
8
7
-