Holding items enchanted with thorns in your hand works as if you were wearing them
The Bug:
Holding items enchanted with thorns in your hand works as if you were wearing them.
Steps to Reproduce:
- Switch into survival mode and hold an item enchanted with thorns by using the command provided below.
/item replace entity @s weapon.mainhand with minecraft:golden_helmet{Enchantments:[{id:"minecraft:thorns",lvl:3}]} - Summon an entity that will attack you, for example, a husk.
- Let it damage you a couple of times.
- Take note as to whether or not holding items enchanted with thorns in your hand works as if you were wearing them.
Observed Behavior:
Holding items enchanted with thorns in your hand works as if you were wearing them.
Expected Behavior:
Holding items enchanted with thorns in your hand would not work as if you were wearing them.
Code Analysis:
Code analysis by Marcono1234 can be found in this comment.
Linked Issues
is duplicated by2
- Works As Intended
[Mod] AvomaColton Bradburn
- 18
- 8
- Confirmed
Normal
- Gameplay
- Items
- thorns
1.8 - 1.20.1
1.8 16w15b 1.10.2 16w43a 1.13 1.13.1-pre1 1.13.1 1.13.2 19w12b 19w13b 19w14a 19w14b 1.15.2 1.16-pre2 1.16-pre5 1.16.2 1.16.4 20w45a 20w46a 20w51a 21w03a 1.16.5 21w05b 21w06a 21w07a 21w16a 21w17a 1.17.1 21w41a 21w42a 21w43a 1.18-pre1 1.18-pre7 1.18 1.18.1 22w03a 22w05a 22w06a 1.18.2-rc1 1.18.2 22w17a 1.19 1.19.1 1.19.2 22w43a 1.19.3 1.19.4 1.20 1.20.1
Created Issue:
Items with Thorns held in your hand will cause Thorns damage.
When holding a piece of armor that is enchanted with thorns, an attacking player will have a chance of taking the thorns damage as if you were wearing the armor. To reproduce this enchant a piece of armor with thorns and have a player punch you. They have a chance of taking the damage from the thorns armor you are holding.
Environment
Inventory
Inventory
When holding a piece of armor that is enchanted with thorns, an attacking player will have a chance of taking the thorns damage as if you were wearing the armor. To reproduce this enchant a piece of armor with thorns and have a player punch you. They have a chance of taking the damage from the thorns armor you are holding.
When holding a piece of armor that is enchanted with thorns, an attacking player will have a chance of taking the thorns damage as if you were wearing the armor. To reproduce this enchant a piece of armor with thorns and have a player punch you. They have a chance of taking the damage from the thorns armor you are holding.
When holding a piece of armor that is enchanted with thorns, an attacking player will have a chance of taking the thorns damage as if you were wearing the armor. To reproduce this enchant a piece of armor with thorns and have a player punch you. They have a chance of taking the damage from the thorns armor you are holding.
Code analysis by Marcono1234 can be found in this comment.
relates to
When holding a piece of armor that is enchanted with thorns, an attacking player will have a chance of taking the thorns damage as if you were wearing the armor.
To reproduce this enchant a piece of armor with thorns and have a player punch you. They have a chance of taking the damage from the thorns armor you are holding.
Code analysis by Marcono1234 can be found in this comment.
The bug
When holding a piece of armor that is enchanted with thorns, an attacking player will have a chance of taking the thorns damage as if you were wearing the armor.
How to reproduce
Enchant a piece of armor with thorns and have a player punch you. They have a chance of taking the damage from the thorns armor you are holding.
Code analysis
Code analysis by Marcono1234 can be found in this comment.
is duplicated by
is duplicated by
I can confirm for 1.16.5.
The bug
When holdinga piece of armor that is enchanted with thorns, an attacking player will have a chance of taking the thorns damageas if you were wearing thearmor.How to reproduce
Enchant a piece of armor with thorns and have a player punch you. They have a chance of taking the damage from the thorns armor you are holding.
Code analysis
Code analysis by Marcono1234 can be found in this comment.
The Bug:
Holding items enchanted with thorns in your hand works as if you were wearing them.
Steps to Reproduce:
- Switch into survival mode and hold an item enchanted with thorns.
/item replace entity @s weapon.mainhand with minecraft:golden_helmet{Enchantments:[{id:"thorns",lvl:3}]}
- Summon an entity that will attack you, for example, a husk.
- Let it damage you a couple of times.
- Take note as to whether or not holding items enchanted with thorns in your hand works as if you were wearing them.
Observed Behavior:
Holding items enchanted with thorns in your hand works as if you were wearing them.
Expected Behavior:
Holding items enchanted with thorns in your hand would not work as if you were wearing them.
Code Analysis:
Code analysis by Marcono1234 can be found in this comment.
The Bug:
Holding items enchanted with thorns in your hand works as if you were wearing them.
Steps to Reproduce:
- Switch into survival mode and hold an item enchanted with thorns.
/item replace entity @s weapon.mainhand with minecraft:golden_helmet{Enchantments:[{id:"thorns",lvl:3}]}
- Summon an entity that will attack you, for example, a husk.
- Let it damage you a couple of times.
- Take note as to whether or not holding items enchanted with thorns in your hand works as if you were wearing them.
Observed Behavior:
Holding items enchanted with thorns in your hand works as if you were wearing them.
Expected Behavior:
Holding items enchanted with thorns in your hand would not work as if you were wearing them.
Code Analysis:
Code analysis by Marcono1234 can be found in
this comment.The Bug:
Holding items enchanted with thorns in your hand works as if you were wearing them.
Steps to Reproduce:
- Switch into survival mode and hold an item enchanted with thorns.
/item replace entity @s weapon.mainhand with minecraft:golden_helmet{Enchantments:[{id:"thorns",lvl:3}]}
- Summon an entity that will attack you, for example, a husk.
- Let it damage you a couple of times.
- Take note as to whether or not holding items enchanted with thorns in your hand works as if you were wearing them.
Observed Behavior:
Holding items enchanted with thorns in your hand works as if you were wearing them.
Expected Behavior:
Holding items enchanted with thorns in your hand would not work as if you were wearing them.
Code Analysis:
Code analysis by Marcono1234 can be found in this comment.
ItemswithThornsheldin your hand will cause Thorns damageHolding items enchanted with thorns in your hand works as if you were wearing them
The Bug:
Holding items enchanted with thorns in your hand works as if you were wearing them.
Steps to Reproduce:
- Switch into survival mode and hold an item enchanted with thorns.
/item replace entity @s weapon.mainhand with minecraft:golden_helmet{Enchantments:[{id:"thorns",lvl:3}]}
- Summon an entity that will attack you, for example, a husk.
- Let it damage you a couple of times.
- Take note as to whether or not holding items enchanted with thorns in your hand works as if you were wearing them.
Observed Behavior:
Holding items enchanted with thorns in your hand works as if you were wearing them.
Expected Behavior:
Holding items enchanted with thorns in your hand would not work as if you were wearing them.
Code Analysis:
Code analysis by Marcono1234 can be found in this comment.
The Bug:
Holding items enchanted with thorns in your hand works as if you were wearing them.
Steps to Reproduce:
- Switch into survival mode and hold an item enchanted with thorns.
/item replace entity @s weapon.mainhand with minecraft:golden_helmet{Enchantments:[{id:"minecraft:thorns",lvl:3}]}
- Summon an entity that will attack you, for example, a husk.
- Let it damage you a couple of times.
- Take note as to whether or not holding items enchanted with thorns in your hand works as if you were wearing them.
Observed Behavior:
Holding items enchanted with thorns in your hand works as if you were wearing them.
Expected Behavior:
Holding items enchanted with thorns in your hand would not work as if you were wearing them.
Code Analysis:
Code analysis by Marcono1234 can be found in this comment.
Holding items enchanted withthorns in your hand works as if you were wearing themHolding items enchanted with Thorns in your hand works as if you were wearing them
relates to
The Bug:
Holding items enchanted with thorns in your hand works as if you were wearing them.
Steps to Reproduce:
- Switch into survival mode and hold an item enchanted with thorns.
/item replace entity @s weapon.mainhand with minecraft:golden_helmet{Enchantments:[{id:"minecraft:thorns",lvl:3}]}
- Summon an entity that will attack you, for example, a husk.
- Let it damage you a couple of times.
- Take note as to whether or not holding items enchanted with thorns in your hand works as if you were wearing them.
Observed Behavior:
Holding items enchanted with thorns in your hand works as if you were wearing them.
Expected Behavior:
Holding items enchanted with thorns in your hand would not work as if you were wearing them.
Code Analysis:
Code analysis by Marcono1234 can be found in this comment.
The Bug:
Holding items enchanted with thorns in your hand works as if you were wearing them.
Steps to Reproduce:
- Switch into survival mode and hold an item enchanted with thorns by using the command provided below.
/item replace entity @s weapon.mainhand with minecraft:golden_helmet{Enchantments:[{id:"minecraft:thorns",lvl:3}]}- Summon an entity that will attack you, for example, a husk.
- Let it damage you a couple of times.
- Take note as to whether or not holding items enchanted with thorns in your hand works as if you were wearing them.
Observed Behavior:
Holding items enchanted with thorns in your hand works as if you were wearing them.
Expected Behavior:
Holding items enchanted with thorns in your hand would not work as if you were wearing them.
Code Analysis:
Code analysis by Marcono1234 can be found in this comment.
Holding items enchanted withThorns in your hand works as if you were wearing themHolding items enchanted with thorns in your hand works as if you were wearing them
This actually appears to be a duplicate of MC-73710, which hasn't yet been resolved. If you have any additional information to provide regarding this issue, feel free to comment on the parent ticket. If you feel that this issue is affecting you, feel free to vote for the duplicated ticket, to give Mojang a basic idea of how many people are impacted by the problem. Just to further inform you, this will not determine how quickly the bug gets handled or fixed.
Duplicate of MC-73710.
Thank you for your report!
We're tracking this issue in MC-73710, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
– I am a bot. This action was performed automatically! Please report any issues on Discord or Reddit
Summary:
Holding items enchanted with thorns in your hand in 24w18a does not work the same as if you were wearing them.
In version 1.20.6 and below you could hold items enchanted with thorns so that entities would take damage when attacking you, related report resolved as WAI - 06/Oct/23 - MC-73710.
Steps to reproduce:
- Switch into survival mode and hold an item enchanted with thorns by using the command provided below.
/give @p netherite_chestplate[enchantments={levels:{"minecraft:thorns":255}}] 1 - Summon an entity that will attack you, for example, a husk.
- Let it damage you a couple of times.
- Take note as to whether or not holding items enchanted with thorns in your hand works as if you were wearing them.
Observed result:
Holding items enchanted with thorns in your hand would not work as if you were wearing them.
Expected result:
Holding items enchanted with thorns in your hand works as if you were wearing them.

This works for all types of gear and items.
.
If you get a hopper and give it a low movement speed tag (or something like that, I forgot what it exactly was) you can use them as spyglasses
I think this is intended.
Confirmed for
Thorns is defined as enchantment for armor, but not for held items. This report is very likely valid
Please link to this comment in the description
The following is based on a decompiled version of Minecraft 1.9 using MCP 9.24 beta.
The reason why this happens is because the methods net.minecraft.enchantment.EnchantmentHelper.applyThornEnchantments(EntityLivingBase, Entity) and net.minecraft.enchantment.EnchantmentHelper.applyArthropodEnchantments(EntityLivingBase, Entity) call both the method net.minecraft.entity.Entity.func_184209_aF() which gets for players all items in armor and hand slots. This behaviour might be intended partwise but the developers should definitely have a look at it again because calling this method is probably not what they want considering that after this for players the enchantment influence is calculated again only for the mainhand (which was included already before).
The problem that the item enchanted with the Thorns enchantment is not damaged is because the method net.minecraft.enchantment.EnchantmentThorns.onUserHurt(EntityLivingBase, Entity, int) tries to get the item which has the Thorns enchantment from all slots which can have this enchantment. As hand items cannot have this enchantment the item is null and no item is damaged.
Confirmed for 1.13.1-pre1
Confirmed for 1.13.1
1.15 still
Confirmed in 1.15.2 and 1.16 Pre-release 2.
also had this problem in 1.16.4
Can confirm in 20w51a.
Can confirm in 21w03a. Feel free to use the following command to reproduce this issue:
/give @s minecraft:diamond_helmet{Enchantments:[{id:"thorns",lvl:3}]}Requesting ownership as the current owner has been inactive for 6 years
Can confirm in 21w05b.
Can confirm in 21w06a.
Can confirm in 21w07a. Video attached.
Can confirm in 21w16a.
Can confirm in 21w17a.
Can confirm in 1.17.1.
Can confirm this behavior in 21w41a. Here are some extra details regarding this problem.
The Bug:
Holding items enchanted with thorns in your hand works as if you were wearing them.
Steps to Reproduce:
/item replace entity @s weapon.mainhand with minecraft:golden_helmet{Enchantments:[{id:"thorns",lvl:3}]}Observed Behavior:
Holding items enchanted with thorns in your hand works as if you were wearing them.
Expected Behavior:
Holding items enchanted with thorns in your hand would not work as if you were wearing them.