Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-152751

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 19w37a
    • 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
    • Confirmed
    • Entities
    • Normal

      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

            boq [Mojang] Bartosz Bok
            SomeError Scott Wagemakers
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: