Talk:Thorns

Level / formula
This enchantment deals Level × 15% chance of inflicting 1 (Half Heart.svg)-4 (Heart.svgHeart.svg) (or Level - 10 if Level > 10) Level of what? Character? Thorns? What formula? 9 level 9 * 15% = 135% - its 100% or 35% chance for damaged twice? 10 level (10-10) * 15% = 0 ??? 11 level (11-10) * 15% = 15%

2 level = 30%, 11 level = 15%. 2 level better then 11? 2405:8100:8000:5CA1:0:0:F5:476D 14:43, 15 May 2019 (UTC)


 * It's just the chance of success, >100% is treated the same as 100%. FVbico (talk) 14:47, 15 May 2019 (UTC)


 * Level of what? Character?
 * 2 have more chance for attack then 11?

2405:8100:8000:5CA1:0:0:F4:E969 14:52, 15 May 2019 (UTC)


 * Here's what makes sense to me:
 * In the context of this page, "level" refers to level of the enchantment, which is normally between 1 and 3. I think the "Level-10 if Level>10" applies if you use commands to increase the level, like other enchantments, although that isn't explicitly explained here. "Level-10" refers to the damage done at 100% probability, not the probability.
 * So for example, the maximum level 3 gives you a 3x15% chance (45%) of dealing 1-4 points of damage. If you use commands to increase the enchantment to level 12, then you have a 100% chance of dealing 12-10 (2 points) damage.
 * That's how I interpret it. ~ Amatulic (talk) 01:56, 16 May 2019 (UTC)


 * You cant enchant item higher than 3 lvl by command. I dont understand level of what and i dont understand why 11 lvl have less chance then 2 lvl by that formula. Any proof links on that information?


 * You can if you provide NBT data directly, not with /enchant, but you can with /give, /replaceitem, /summon, /setblock, /data, etc. FVbico (talk) 13:15, 16 May 2019 (UTC)


 * I also don't understand how this thing works. Where is the information about the level coming from, originally? 131.129.11.192 12:38, 19 May 2019 (UTC)

Regarding multiple equipped pieces, from reading this, I wasn't exactly sure of Thorn's relationship between durability loss and activation chance, so I tested it on 1.15.2 with F3+H in creative.
 * On durability, it seems the game uses the grand total of the extra durability loss and distributes it among all pieces at complete random. So if all 4 pieces have it, this total should be anywhere from 4-12 (depending if no pieces proc or all do). At the most extreme end, it can proc 4x and add this extra -12 to just one armor piece but it's usually balanced. Averaged out, Thorns III will degrade a piece at a 2.9x rate (55% chance for -2 durability, 45% chance for -4 durability).
 * For chance, it seems to multiplicatively stack. Chance of failure for one piece is 55%, while all 4 is less than 10%.
 * Comparing the DLR (durability loss rate) of a player with all armor pieces to the chance of activation would give the following figures for Thorns III when averaged out:
 * 0 Pieces: 1x DLR for 0% Thorns Chance
 * 1 Piece: 1.475x DLR for 45% Thorns Chance
 * 2 Pieces: 1.95x DLR for 69.75% Thorns Chance
 * 3 Pieces: 2.425x DLR for ~83.36% Thorns Chance
 * 4 Pieces: 2.9x DLR for ~90.85% Thorns Chance

There's always the chance I got something wrong and someone can test it further later on so I'll just leave this on the Talk page. 38.132.118.240 02:45, 14 March 2020 (UTC)

Thorns Armor Durability
How much durability is taken away from any piece of armor when it inflicts thorn damage? This is specified nowhere in the wiki.

136.49.236.16 19:36, 18 August 2020 (UTC)

Receiving thorns III from enchanting table
The article currently states: "Thorns III cannot appear on the enchantment table interface, but can be added as a side effect enchantment from a level 30 enchantment on chestplates."

However, after carefully reading the page on Enchanting mechanics I don't see how this would be possible, similarly, this enchantment calculator: https://minecraft.tools/en/enchant.php doesn't seem to list thorns III as a possibility, even on a golden chestplate, and my personal testing also failed to produce any thorns III chestplates.

As such I wonder if it is true at all, especially since this page seems to be something of a magnet for subtle pieces of misinformation. CrCl3 (talk) 12:21, 11 January 2021 (UTC)


 * The edit that added it was an IP, and looking at the person's contributions shows little pieces of misinformation, so it should be removed. (Special:Diff/1451192) – Unavailablehoax (talk) 12:42, 11 January 2021 (UTC)

hunger?
Does Thorns normally cause Exhaustion (hunger) to increase? I'm trying to figure out if what I'm seeing is part of Vanilla 1.7.10 or because of one of the many mods I have installed.-- 14:48, 21 February 2021 (UTC)

Thorns III in generated loot chests.
I did some testing for if items with thorns III items can be found in end city, bastion remnant, and ruined portal chests. Testing was performed on Java 1.16.5

The contents of loot chests are generated based on loot tables, for this the relevant ones are "bastion_treasure", "end_city_treasure" and "ruined_portal".

Testing procedure:

Start a new creative world

/gamerule commandBlockOutput false

Make a command block with the command:

kill @e[type=minecraft:item,nbt=!{Item:{tag:{Enchantments:[{id:"minecraft:thorns", lvl:3s}]}}}]

Set it on repeat and power it, this will continuously remove all item entities that don't have thorns III enchantment.

Check that the command block is actually killing items, otherwise the game will probably crash because the next steps generate many items.

To generate loot chests make a command block with

/fill ~ ~1 ~ ~-5 ~1 ~5 minecraft:chest{LootTable:"minecraft:chests/end_city_treasure"}

(replace the "end_city_treasure" bit with other loot table names to test them.)

set it on repeat and power it, directly next to it on the *east* side place a repeat command block with

/fill ~-1 ~1 ~ ~-6 ~1 ~5 minecraft:air

This should result in a massive number of items briefly appearing and then disappearing. The only ones that remain are the ones with thorns III.

Result: With bastion_treasure and ruined_portal loot tables thorns III items started popping up immediately, for the end_city_treasure table it took a quite a while but eventually both iron and diamond chestplates with thorns III did generate.

This result is in a good agreement with the Enchanting mechanics page and the info about the loot tables on the pages of the structures.

CrCl3 (talk) 18:37, 21 February 2021 (UTC)


 * Based on the looting pool given in Desert Pyramid, Bastion Remnant, Ruined Portal and End City, I revised your edit with clearer indication. --KazamaSion (talk) 12:07, 24 February 2021 (UTC)
 * After I checked the edit and discussion history, I re-made the whole part here. I think it should be inserted as a template but my work of format is bad. --KazamaSion (talk) 13:11, 24 February 2021 (UTC)

Thorns III damage
"Probabilities of inflicting maximum damage and average damage dealt depending on the number of items with Thorns III worn are as follows:

What is the "average damage dealt"? Is this per attack? 76.64.52.246 18:49, 31 July 2021 (UTC)


 * Yes, it seems so.
 * For a single item, Thorns III has a 45% (level 3 × 15%) probability of dealing 1-4 points of damage. The probability is distributed evenly from 1 to 4 points, so the probability of dealing 4 points damage is $1/4$ of that, or 11.25%. So the table is correct for a single armor item.
 * The average damage you can expect from one armor item enchanted with Thorns III is (1+2+3+4)/4, or 2.5 points. So Thorns III gives a 45% probability of dealing 2.5 points, or 1.125 points. That's the expectation per attack, not the actual per attack. The expectation is realized as an average over many attacks. Amatulic (talk) 19:08, 31 July 2021 (UTC)