mojira.dev
MC-198418

Villagers drop items from their loot table when converted to a zombie villager

If you use a datapack to give the villagers a custom loot table (I wanted them to drop bells) they will also drop the item when converted into a zombie villager.

How to reproduce:
1) Download the linked data pack.
2) Spawn a villager next to a zombie and wait for the zombie to convert the villager.
3) Watch as bells drop even though the villager is not dead.

This bug should be removed as it is annoying in villager trading halls.

Attachments

Comments 2

Can confirm in 1.17.

@Kierven Avion

Thanks, added to affected versions.

user-e894d

(Unassigned)

Confirmed

Data Packs, Entities, Loot tables

1.16.2, 1.17

Retrieved