Thorns

Thorns is an armor enchantment that causes attackers to be damaged when they deal damage to the wearer.

Guardians and pufferfish also have a thorns effect which inflicts damage when the spikes are out.

Usage
While wearing any piece of armor with the Thorns enchantment, the wearer has a  chance of inflicting - 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.

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.

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.

Using commands, the enchantment level can be increased. The maximum possible chance of dealing damage is 100% (at level 7). If the level of Thorns exceeds 10, then it deals  damage.

Using commands it is also possible to place a thorns enchantment on a shield, and prior to Java Edition 1.15 it was also possible (albeit, extremely rarely) to get thorns on a shield legitimately as a bonus enchant when enchanting one at level 30, though it would never grant the enchantment as a primary to a shield.

Obtaining
Thorns I, II, and III can be obtained naturally from drops or by combining the enchantment from a book. Thorns III can also be obtained by using an anvil to combine two Thorns II enchantments, or by combining the enchantment from a book obtained via trading with a villager. Thorns III cannot appear on the enchantment table interface, but can be added as a side effect enchantment from a level 30 enchantment on armor.

Thorns can be applied to a non-armor item only by using commands or a third-party tool. When such an item is held in either hand, an attacker suffers damage according to the formula above.

ID




Issues
Dornen 棘の鎧 Espinhos 荆棘