
Upon damaging a mob or player, the sword's durability decreases by 1.Īttacking a boat or a minecart with a sword stone tier or higher instantly destroys it (JE only), without decreasing the sword's durability. Pressing attack while holding a sword inflicts damage on both mobs and other players. ↑ a b The item has between 80% and 100% of its total durability.↑ a b The item has between 10% and 90% of its total durability.↑ a b c d e f All enchantments are equally probable, including treasure enchantments (except Soul Speed, and Swift Sneak), and any level of the enchantment is equally probable.↑ a b c d Enchantment probabilities are the same as a level-20 to level-39 enchantment would be on an enchantment table that had no cap at level 30, and that was able to apply treasure enchantments (except Soul Speed, and Swift Sneak), and where the chance of multiple enchantments is not reduced.The enchantments of the swords offered by villagers are the same as the ones obtained from an enchantment table at levels 5–19. A master-level weaponsmith offers to sell an enchanted diamond sword for at least 11–27 emeralds.

In Java Edition, a novice-level weaponsmith villager has a 2⁄ 3 chance of selling an enchanted iron sword for at least 7-22 emeralds. In Bedrock Edition, an apprentice-level weaponsmith villagers sells enchanted iron swords for at least 7-21 emeralds, and a master-level weaponsmith sells enchanted diamond swords for at least 13-27 emeralds. The diamond sword trade of a weaponsmith. This sword has a 50% chance of being enchanted. In Bedrock Edition, pillagers and vindicators that spawn from raids have a 4.1% chance (5.12% chance on hard mode) of dropping a damaged iron sword. It is never damaged and may be enchanted. However, this chance increases by 1 percentage point per level of Looting.

Stone swords dropped by wither skeletons are never enchanted.Ī vex wields an iron sword that normally has a 0% chance of dropping, because their main hand's HandDropChances is 0. The dropped sword is usually badly damaged and may be enchanted. Zombies and husks can drop iron swords, zombified piglins and piglins can drop golden swords, and wither skeletons can drop stone swords. This chance is increased by 1% per level of Looting, up to a maximum of 11.5% with Looting III.

Some mobs can spawn with a sword and have an 8.5% chance of dropping them upon death caused by player.
