minecraft.wiki-mirror/wiki_backup/Thorns.txt
2024-12-24 06:17:34 -05:00

211 lines
7.5 KiB
Text
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{{Dungeons hatnote|type=enchantment}}
{{Infobox enchantment
| maxlevel = III
| primaryitems = {{ItemSprite|Chestplate|link=Chestplate}}<br/>{{ItemSprite|Helmet|link=Helmet}}{{only|bedrock}}<br/>{{ItemSprite|Leggings|link=Leggings}}{{only|bedrock}}<br/>{{ItemSprite|Boots|link=Boots}}{{only|bedrock}}<br/>{{ItemSprite|Turtle Shell|link=Turtle Shell}}{{only|bedrock}}
| secondaryitems = {{ItemSprite|Helmet|link=Helmet}}{{only|java}}<br/>{{ItemSprite|Leggings|link=Leggings}}{{only|java}}<br/>{{ItemSprite|Boots|link=Boots}}{{only|java}}<br/>{{ItemSprite|Turtle Shell|link=Turtle Shell}}{{only|java}}
| weight = 1
}}
'''Thorns''' is an [[armor]] [[enchantment]] that causes attackers to be damaged when they deal damage to the wearer.
[[Guardians]] and [[elder guardians]] have a Thorns-like effect that inflicts damage when their spikes are out. However, this affects only melee damage, whereas Thorns the enchantment applies to all direct attacks, including ranged.
== Obtaining ==
In addition to normal [[enchanting]], Thorns I and II can be obtained naturally from drops, fishing, [[Trading#Librarian|trading]] with a [[villager]] or as loot from [[generated structures]]. Thorns cannot be directly obtained on helmets, leggings, or boots through an enchanting table on ''Java Edition'', requiring an anvil to be used instead.
Thorns III cannot be directly obtained using an [[enchanting table]], but it can be obtained by using an anvil to combine two Thorns II enchantments, by [[Trading#Librarian|trading]] with villagers, or by finding an item enchanted with it from the '''loot chest''' as below.
The enchanted book with Thorns III can be found within the following structures:
'''Underground structures'''
* [[Mineshaft]]
* [[Stronghold]]
'''Underwater structures'''
* [[Ocean Ruins]]
'''Aboveground structures'''
* [[Desert Pyramid]]
* [[Jungle Pyramid]]
* [[Pillager Outpost]]
* [[Woodland Mansion]]
'''Miscellaneous structures'''
* [[Monster Room]]
Pieces of armor enchanted with Thorns III can be found within the following structures:
'''Underwater structures'''
* [[Shipwreck]]
'''Small structures'''
* [[Ruined Portal]]
'''The Nether'''
* [[bastion remnant|Bastion Remnant]]
* [[ruined portal|Ruined Portal]]
'''The End'''
* [[end city|End City]]
== Usage ==
{{update
|section=1
|reason=Table needs updating to reflect new damage values for Thorns enchantment in 1.21
}}
While wearing any piece of armor with the Thorns enchantment, the wearer has a <code>Level × 15%</code> chance of inflicting {{hp|1}}&ndash;{{hp|5}} damage on anyone who attacks them, regardless of whether they were hit by a melee attack, arrow, or other projectile. The entity also gets knocked back when being attacked by the enchantment.
If the player dies as a result of Thorns damage, the death message <code><player> was killed trying to hurt <entity></code> is displayed.
Multiple worn armor items with the Thorns enchantment do stack. Each piece confers an independent chance to deal damage to the attacker as described above. The total amount of damage that can be dealt this way is capped at {{hp|5}}.
Probabilities of inflicting maximum damage and average damage dealt depending on the number of items with Thorns III worn are as follows:
{| class="wikitable"
|+
!Items with Thorns III
!Probability of max. damage {{hp|4}}
!Average damage dealt
|-
|1
|11.25%
|{{hp|1.125}}
|-
|2
|28.83%
|{{hp|1.997}}
|-
|3
|46.33%
|{{hp|2.637}}
|-
|4
|61.18%
|{{hp|3.09}}
|}
Thorns applies a durability penalty to the armor. It reduces durability by an additional 2 points when inflicting damage. If multiple armor pieces are enchanted with Thorns, the durability penalty is applied to one piece chosen at random, regardless of what level of Thorns that piece has. If the item is also enchanted with [[Unbreaking]], the damage penalty has a chance of being ignored.
If a projectile is launched toward an opponent equipped with Thorns, using a shield damages the shield instead of the player when the projectile hits the opponent.
{{IN|java}} although [[horse armor]] cannot be enchanted in [[Survival]], the Thorns enchantment can be applied to horse armor in Creative and it works.
Armor enchanted with Thorns also damages the enemy if the player is holding it in one of their hands.<ref>{{bug|MC-73710||Holding items enchanted with thorns in your hand works as if you were wearing them|WAI}}</ref>
==Unaffected mobs==
[[Warden]]s<ref>{{bug|MC-250157|||Works As Intended }}</ref> using sonic boom attacks are not affected by this enchantment.
== Sounds ==
{{edition|java}}
{{SoundTable
| type = java
| {{SoundLine
|sound =Thorns1.ogg
|sound2=Thorns2.ogg
|sound3=Thorns3.ogg
|sound4=Thorns4.ogg
|subtitle=Thorns prick
|source=player
|description=When a entity is damaged by something with Thorns
|id=enchant.thorns.hit
|translationkey=subtitles.enchant.thorns.hit
|volume=1.0 <ref group=sound>Dependent upon the entity being damaged, but it is usually 1.0</ref>
|pitch=0.8-1.2
| distance = 16
}}
}}
{{edition|bedrock}}:
{{SoundTable
| type = bedrock
| {{SoundLine
| sound =Thorns1.ogg
|sound2=Thorns2.ogg
|sound3=Thorns3.ogg
|sound4=Thorns4.ogg
|source=player
|description=When an entity is damaged by something with Thorns
|id=damage.thorns
|volume=0.5
| pitch = 1.0
}}
}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|generatetranslationkeys=y
|nameid=thorns
|displayname=Thorns
|translationtype=enchantment
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=1
|generatetranslationkeys=y
|nameid=thorns
|displayname=Thorns
|id=5
|translationtype=enchantment
|foot=1}}
== Video ==
{{yt|gaYww0HMLyA|align=inline}}
== History ==
{{HistoryTable
|{{HistoryLine|java}}
|{{HistoryLine||1.4.6|dev=12w50a|Added Thorns.}}
|{{HistoryLine||1.9|dev=15w42a|When multiple pieces of Thorns [[armor]] are worn, one is chosen at random to lose [[item durability|durability]] instead of always using the "bottommost" piece.}}
|{{HistoryLine|||dev=15w47b|[[Sound]]s for Thorns have been added.}}
|{{HistoryLine||1.14|dev=19w08a|Thorns enchantment is now functional for horses when added to horse armor in creative mode.}}
|{{HistoryLine||1.16.2|dev=20w28a|Thorns now takes away less durability.<ref>{{bug|MC-34661}}</ref>}}
|{{HistoryLine||1.20.5|dev=24w03a|Helmets, leggings, and boots can now receive Thorns through an enchanting table, rather than only through an anvil.<ref>{{bug|MC-267943||Anvil exclusive enchantments can be obtained from enchanting tables|Fixed}}</ref>}}
|{{HistoryLine|||dev=24w12a|Helmets, leggings, and boots can no longer receive Thorns through an enchanting table.}}
|{{HistoryLine||1.21|dev=24w18a|Thorns levels above 10 no longer deal level-based damage.<ref>{{bug|MC-271651}}</ref>|Thorns enchantment no longer works when holding the item in a hand.<ref>{{bug|MC-271652}}</ref>}}
|{{HistoryLine|||dev=24w19a|Thorns enchantment works again when holding the item in a hand but also consumes durability, unlike in previous versions.}}
|{{HistoryLine|pocket alpha}}
|{{HistoryLine||v0.12.1|dev=build 1|Added Thorns.}}
|{{HistoryLine|bedrock}}
|{{HistoryLine||1.20.30|dev=Preview 1.20.20.20|Sounds for Thorns have been added.}}
|{{HistoryLine|console}}
|{{HistoryLine||xbox=TU14|xbone=CU1|ps3=1.04|psvita=1.00|ps4=1.00|wiiu=Patch 1|switch=1.0.1|Added Thorns.}}
|{{HistoryLine||xbox=TU46|xbone=CU36|ps3=1.38|psvita=1.38|ps4=1.38|wiiu=Patch 15|switch=1.0.1|[[Sound]]s for Thorns have been added.}}
}}
== Issues ==
{{issue list}}
== References ==
{{Reflist}}
== Navigation ==
{{Navbox enchantments}}
[[de:Dornen]]
[[es:Espinas]]
[[fr:Épines]]
[[ja:棘の鎧]]
[[pt:Espinhos]]
[[th:สะท้อน]]
[[zh:荆棘]]