mojira.dev
MC-4150

Baby Zombies do not drop any loot / xp

While messing around on Creative Mode, I gave a Baby (Villager) Zombie some armor and a sword I enchanted, for it to use. Later, as I was going to do something else in the world I was playing on, I went back to that Baby Zombie to retrieve my stuff, so that it wouldn't despawn while carrying my stuff. But then, when I killed it, the Baby Zombie didn't drop ANYthing--let alone not dropping my stuff, it dropped no experience orbs, no rotten flesh, NOTHING!

What I expected to happen:
The Baby Zombie would (at the very least) drop the items I gave it.

What actually happen:
The Baby Zombie dropped ABSOLUTELY NOTHING!

Steps to Reproduce:
1.Find a Baby (Villager) Zombie that can pick up items.
2.Give the Baby Zombie a weapon and some armor. (The stuff I gave after I discovered this bug were: A Diamond Sword enchanted with Sharpness V, Looting III, Knockback II, and Fire Aspect II; a Diamond Helmet enchanted with Protection IV, Respiration III, and Aqua Affinity I; Diamond Boots enchanted with Fire Protection and Feather Falling IV; a Diamond Chestplate enchanted with Projectile Protection IV; and Diamond Leggings also enchanted with Projectile Protection IV.)
3.Kill it (or have something else kill it, i.e.: An Iron Golem); the final result should be that the Baby Zombie doesn't drop anything.

Linked issues

MC-12934 Baby Zombie Villagers Don't drop the items you give them Resolved MC-19566 Baby villager zombies item bug Resolved MC-24216 The Zombies Resolved MC-24371 Baby zombies don't drop carried items Resolved MC-25010 Baby zombies can pick up items, but those items doesn't drop on death. Resolved

Attachments

Comments 19

Confirmed, changed to a clearer title.

A couple of times while testing this bug, I found that if I were to give a regular (adult) zombie armor and a sword, exit the world, reload it, and then kill the zombie, it wouldn't drop the items I gave it; it would only drop its normal loot. This discovery was completely accidental, but I can't seem to reproduce it anymore for some reason....

Definitely a conflict with the code whereas babies don't drop anything as a way to make killing them meaningless. But then making them drop your stuff contradicts that... Still, they should drop it, so.

Edit: To be more clear, from what it seems, the "Babies don't drop anything" code is overtaking the "Mobs dropped picked up items" code. Either Baby Zombies should not be able to pick up dropped items, or they should drop picked up items. If you want to keep to the theme of babies not giving any benefit to being killed, it should probably prevent them from picking up items. While this can be annoying to some players, it'd make more sense considering how the current system is.

Confirmed even in the 1.5 snapshots. This is quite a bad bug, considering baby zombies already:
1. Are as powerful as adults
2. Move faster than the player can without potions
3. Do not burn in sunlight
4. Destroy items when brought back to life
5. Do not grow up, preventing any workaround to this issue

The fact that they destroy your items is a bit over-the-top. It is not pointless to kill them; they can steal your possessions and pose a threat to you. Healing them will equally destroy your possessions.

I can understand the anti-baby-killing measures "so PETA doesn't get mad" when it comes to bred animals. But zombies aren't even living humans anymore; they're out to kill you, and they can kill other villagers. At that point, I think they should drop experience too. It's not like players will farm these things; it's harder to get baby villagers infected than adults, anyhow.

Still present in 1.5, baby zombies and baby villager zombies do not drop exp or burn in daylight. Have even tested with MCedit filters that were set to drop items 100% of the time and still no items or exp.

9 more comments

@Greatlance: Are you sure doMobLoot wasn't turned off? I've only witnessed this with baby zombies, where they fail to drop 100% of the time. Normal zombies never fail to drop xp/items for me.

@Gerrard Lukacs: Yep, we've been playing on the server for a while and mobs have dropped their loot. I think it might be because the zombie dropped the armor and weapon that you could see he was holding, but the other stuff he got was gone.

I'm not sure if I should be posting this under this issue, but it does seem related.

While playing last night, I was killed by an adult zombie who then picked up my armor and sword. I used the /tp command to go back to the death coordinates and was quickly killed again. While on the death screen (before clicking respawn) after the second kill, I saw the adult zombie despawn with my loot. Respawning and teleporting back to the death spot confirmed the zombie was nowhere to be found. A cave spider spawner was in the vicinity and contributed to my deaths, if that makes any difference debugging the issue. I mention it because my other experience loosing loot to a despawning baby zombie (and the reason I'm following this issue in the first place) also involved a cave spider spawner and being poisoned.

This just happened to me in 1.6.2, it had some iron pants and a very powerfully enchanted Diamond sword.

@Scott Dirk: This bug is marked as resolved (last Tuesday), just update to the latest snapshot, or wait until the 1.7 release in a few months.

Idea Guy

Nathan Adams

Confirmed

baby-zombie, drop, experience, item, loot

Minecraft 1.4.5, Minecraft 1.4.7, Snapshot 13w01a, Snapshot 13w01b, Minecraft 1.5, ..., Minecraft 1.5.2, Snapshot 13w26a, Minecraft 1.6, Minecraft 1.6.1, Minecraft 1.6.2

Minecraft 13w36a

Retrieved