[MC-3591] Cured zombie villagers don't drop picked up items Created: 21/Nov/12  Updated: 25/Jul/20  Resolved: 06/Nov/19

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.5, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w01a, Snapshot 13w01b, Minecraft 1.5, Minecraft 1.5.2, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.6.4, Minecraft 13w36a, Minecraft 13w36b, Minecraft 13w42a, Minecraft 13w42b, Minecraft 13w43a, Minecraft 1.7, Minecraft 1.7.1, Minecraft 1.7.2, Minecraft 1.7.3, Minecraft 1.7.4, Minecraft 14w02c, Minecraft 14w03b, Minecraft 14w04a, Minecraft 14w04b, Minecraft 1.7.10, Minecraft 14w30b, Minecraft 14w30c, Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.2-pre1, Minecraft 1.8.2-pre2, Minecraft 1.8.8, Minecraft 15w44b, Minecraft 15w45a, Minecraft 15w47c, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 1, Minecraft 1.9.1 Pre-Release 2, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a, Minecraft 16w40a, Minecraft 16w41a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11.2, Minecraft 1.12.2, Minecraft 18w14a, Minecraft 18w14b, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w11b, Minecraft 19w12b, 1.14.4
Fix Version/s: 19w45a

Type: Bug
Reporter: [Mod] CubeTheThird Assignee: Maria Lemón
Resolution: Fixed Votes: 28
Labels: armor, cure, drop, item, villager, zombie_villager

Issue Links:
Duplicate
is duplicated by MC-6458 Items are destroyed when a Zombie Vil... Resolved
is duplicated by MC-100014 Villager zombies with armor/weapons l... Resolved
is duplicated by MC-121923 Disappearing items with zombie Resolved
is duplicated by MC-128217 Zombie Villager cure with item Resolved
is duplicated by MC-154272 player head vanish from zombie villager Resolved
is duplicated by MC-157566 Converting Zombie Villagers make held... Resolved
Relates
relates to MC-149679 Zombie Villagers cured into regular v... Open
relates to MC-88967 Most NBT tags are not kept when a mob... Resolved
relates to MC-148564 Cured zombie villagers lose profession Resolved
relates to MC-172121 Piglins do not drop their gear when t... Resolved
CHK:
Confirmation Status: Confirmed
Game Mode: Survival
Category:
Mob behaviour
Mojang Priority: Important

 Description   

The bug

A zombie villager picked up items dropped by a fellow player, specifically armor. The villager had been cured, and the armour was lost.

How to reproduce

  1. Summon a zombie villager that can pick up items
    /summon minecraft:zombie_villager ~ ~ ~ {CanPickUpLoot:1b}
    
  2. Give an item to the zombie villager
  3. Cure the zombie villager (command below for alternative, faster method)
    /data merge entity @e[type=zombie_villager,limit=1,sort=nearest] {ConversionTime:1}
    

    Notice the items are gone

The fix

Call the method EntityLiving.dropEquipment(wasRecentlyHit, lootingModifier) in EntityZombieVillager.finishConversion().



 Comments   
Comment by [Mod] CubeTheThird [ 25/Jul/20 ]

If this issue continues to occur, please create a new ticket, and we will link it to this one.

Comment by mben42 [ 25/Jul/20 ]

Same issue in 1.16.1

Comment by BoredBrandon [ 13/Mar/20 ]

It happened to me in 1.15.1

Comment by Kraif [ 29/Aug/18 ]

Confirmed for 1.13.1.

Comment by Michael Plantz [ 12/Mar/13 ]

I was able to reproduce this by both accidnet and then again I watched the zombie change and the item disappeared.

Comment by Emile de Freitas [ 25/Jan/13 ]

The same thing happened to me just now. (but I did it as a test not by accident) then when i was going to report it, i saw that you already have.

Comment by Tails [ 06/Jan/13 ]

Confirmed.

Generated at Sun Jan 12 12:01:44 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.