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

Enchantments get applied to other weapons on kill

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.4.4, Minecraft 1.4.7, Minecraft 1.5, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.7.4, Minecraft 14w02c, Minecraft 14w03b, Minecraft 14w04a, Minecraft 14w04b, Minecraft 14w05a, Minecraft 14w05b, Minecraft 1.7.5, Minecraft 14w11b, Minecraft 1.7.10, Minecraft 14w32a, Minecraft 14w32b, Minecraft 14w32c, Minecraft 14w32d, Minecraft 14w33a, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 16w03a, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a, Minecraft 17w06a, Minecraft 17w17b, Minecraft 1.12.2, Minecraft 1.13-pre1, Minecraft 1.14.4 Pre-Release 5, 1.14.4, 1.15.2, 20w16a, 20w21a, 1.16, 1.16.2, 1.16.3, 1.16.4, 20w51a, 21w03a, 1.16.5, 21w05b, 21w06a, 21w07a, 21w11a, 21w15a, 21w17a, 1.17, 1.17.1 Pre-release 1
    • Fix Version/s: Snapshot 13w26a
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      Combat, Enchantments, Loot tables
    • Mojang Priority:
      Low

      Description

      The Bug:

      Enchantments get applied to other weapons on kill.

      Steps to Reproduce:

      • Run the following commands:
      /summon minecraft:husk ~ ~ ~ {NoAI:1b}
      /item replace entity @p weapon.offhand with minecraft:bow
      /item replace entity @p weapon.mainhand with minecraft:diamond_sword{Enchantments:[{id:"looting",lvl:100}]}
      • Shoot and kill the husk using your bow.
      • →  Notice how the looting enchantment increases the number of drops you receive from killing the husk, despite yourself not using the sword to kill it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              Avoma Avoma
              Votes:
              32 Vote for this issue
              Watchers:
              14 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: