-
Bug
-
Resolution: Unresolved
-
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, 1.17.1 Pre-release 2, 1.17.1 Pre-release 3, 1.17.1 Release Candidate 1, 1.17.1, 21w37a, 21w38a, 21w39a, 21w40a, 21w42a, 21w43a, 1.18 Release Candidate 3, 1.18, 1.18.1, 22w05a, 22w06a, 1.18.2 Release Candidate 1, 1.18.2, 22w14a, 1.19, 1.19.1 Pre-release 4, 1.19.1, 1.19.2, 22w43a, 1.19.3, 1.19.4, 1.20, 1.20.1, 23w33a, 1.20.4, 24w10a, 24w18a, 24w20a, 1.21, 1.21.1, 1.21.2 Pre-Release 3, 1.21.3
-
None
-
Confirmed
-
Combat, Enchantments, Loot tables
-
Low
-
Platform
The Bug:
Enchantments from items held in the main hand are applied to other items when entities are killed.
Steps to Reproduce:
- Summon a husk, hold a bow in your offhand, and a sword enchanted with a high level of looting in your main hand, by using the commands provided below.
/summon minecraft:husk ~ ~ ~ {NoAI:1b}
/item replace entity @s weapon.offhand with minecraft:bow
/item replace entity @s weapon.mainhand with minecraft:diamond_sword[enchantments={levels:{"minecraft:looting":100}}]
- Shoot and kill the husk using the bow.
- Look if the looting enchantment on the sword affected the number of items that the husk dropped.
- Take note as to whether or not enchantments from items held in the main hand are applied to other items when entities are killed.
Observed Behavior:
Enchantments are applied to other items when entities are killed.
Expected Behavior:
Enchantments would not be applied to other items when entities are killed.
Potential Fix:
A potential fix by Chumbanotz can be found in this comment.
- is duplicated by
-
MC-67473 Thorns and looting
- Resolved
-
MC-96143 Bows can have Looting effect
- Resolved
-
MC-133153 High looting values apply even if the weapon is not used to do the kill
- Resolved
-
MC-200572 Looting increases loot even when not killing with the enchantment
- Resolved
-
MC-206659 Swapping from an Unenchanted Item to an Enchanted Item, applies the enchants to the unenchanted item.
- Resolved
-
MC-211590 how to make your sword durability no go down but still get loot
- Resolved
-
MC-245444 Looting on bow
- Resolved
-
MC-252127 Looting still works even if you doesn't use the looting sword directly.
- Resolved
-
MC-254120 Shooting a mob with a persistent projectile from the offhand will activate a the mainhand enchantment's on hit effect
- Resolved
- relates to
-
MC-187015 Using an item and quickly switching hotbar slots doesn't reduce the durability of the said item
- Open
-
MC-13518 You can switch fishing rods while the line is still cast
- Reopened
-
MC-28289 Switching items at the same time as attacking ignores the item attributes
- Reopened
-
MC-73032 When killing a player and quickly switching to a different weapon, the name of weapon in the death message matches that of the one in hand when the player dies.
- Resolved
-
MC-73710 Holding items enchanted with thorns in your hand works as if you were wearing them
- Resolved
-
MC-131637 The slowness effect is applied to entities when the bane of arthropods enchantment is held in the off hand
- Resolved
-
MC-136147 Riptide tridents use mainhand item to inflict damage when thrown in the offhand
- Resolved
-
MCPE-141935 Looting is not applied when a mob is killed with a projectile
- Resolved