mojira.dev
MC-152751

Horse armor can occasionally be duplicated when killing a horse wearing it with Looting III

The bug

Killing a horse wearing armor with a looting 3 enchanted sword has a very small chance of dropping more than 1 armor.

How to reproduce

  1. Get an item with looting on it

    /give @p minecraft:stick{Enchantments:[{id:"minecraft:looting",lvl:100},{id:"minecraft:sharpness",lvl:100}]} 1
  2. Summon a horse with armor

    /summon minecraft:horse ~ ~ ~ {ArmorItem:{id:"minecraft:diamond_horse_armor", Count: 1b}}
  3. Kill the horse with the item that has looting
    → ❌ The horse dropped two horse armor

Attachments

Comments 2

Can reproduce. Here is an easy command to get a sword that doesn't drop a bunch of leather.

/give @p minecraft:diamond_sword{Enchantments:[{id:"minecraft:looting",lvl:50}]} 1

EDIT: Working in all 1.14.2 snapshots.

SomeError

boq

Confirmed

Normal

Entities

mojang_internal_1

Minecraft 1.14.1, Minecraft 1.14.2 Pre-Release 2, Minecraft 1.14.2 Pre-Release 3, Minecraft 1.14.2 Pre-Release 4, Minecraft 1.14.2, 1.14.4

19w37a

Retrieved