Minecraft wiki entry for Thorns, associated text: Thorns can be applied to a non-armor item only by using creative mode, commands or a third-party tool. When such an item is held in either hand, an attacker suffers damage according to the formula above.