mojira.dev
MC-91147

Mobs no longer drop equipment

With the change to loot tables, the code for having mobs drop worn armor or held items is no longer called.

Easy enough to test, just summon a mob with equipment and set the corresponding HandDropChances or ArmorDropChances to 1.0. Or put a saddle on a pig.

Comments 5

Can confirm with saddled pigs and inventory picked up by mobs. Can't confirm with horses.

Still in 15w43b. You can also notice that when mob is picking up weapon, the HandDropItems for this weapon is set to 2.0f
Tested on egg-spawned zombie pigmans.

Unable to reproduce in 15w43c, at least for saddled pigs.

Seems to be fixed in 15w43c also for original swords of pigzombie (with low chance of dropping) and picked up swords (with high, probably 100% chance)

Picked up swords should have a 100% chance of being dropped on death. Please create a new ticket for that. Assuming this ticket is fixed and closing.

Anomie X

(Unassigned)

Unconfirmed

Minecraft 15w43a, Minecraft 15w43b

Minecraft 15w43c

Retrieved