Sword

Swords are melee weapons that are mainly used to deal damage to mobs and/or players.

Mobs
Some monsters can spawn with a sword, and have a 8.5% (9.5% with Looting I, 10.5% with Looting II and 11.5% with Looting III) chance of dropping them upon death by player: Zombies can drop iron swords, zombie pigmen can drop golden swords, and wither skeletons can drop stone swords. It will usually be badly damaged, and may be enchanted.

Trading
Weapon Smith villagers sell enchanted iron swords for 9–10 emeralds as one of their second tier trades, and enchanted diamond swords for 12–15 emeralds as one of their third tier trades. The enchantments will be the same as might be obtained from an enchantment table at levels 5–19.

Attacking
Pressing while holding a sword will increase your damage to both mobs and players. Upon damaging a mob or player, the sword's durability will decrease.

Attacking a boat or a minecart with a sword will instantly destroy it and will not decrease the sword's durability.

Damage
Swords have an attack speed of 1.6 and take about 0.63 seconds to recover.

If attacking with a sword while moving at walking speed or slower, enemies near the hit enemy will be knocked back and damaged by from the slashing attack. The amount of knockback is 80% that of the knockback due to Knockback I, and does not benefit from that enchantment. All enemies within 1 block horizontally and 0.25 blocks vertically of any part of the attacked mob and within 3 blocks of the player will be knocked back.

Console and Pocket editions
In the Console and Pocket editions, swords have no attack cooldown and do the following damage:

Sword breaking times
A sword can also be used to destroy certain blocks more quickly than with fists. Using a sword to destroy any block that doesn't break instantly decreases its durability by 2.

The following table shows the time it takes to break blocks on which swords have any effect. Colors indicate what will be dropped:
 * White: an original block.
 * Blue: block's normal drop (e.g. seeds, sapling, apple).
 * Red: nothing.

Enchantments
Swords can receive the following enchantments:


 * Fire Aspect
 * Looting
 * Unbreaking
 * Sharpness
 * Smite
 * Bane of Arthropods
 * Knockback
 * Mending

Trivia

 * The sword's texture came from Notch's abandoned RPG, Legend of the Chambered. The iron sword's texture was created first, as it was from the game, and the other swords followed.
 * A foam iron sword can be purchased on the merchandise page of minecraft.net.
 * If a sword is enchanted with Silk Touch, either using Creative or commands, it can collect cobwebs rather than getting the string drop. This is due to the sword being classified as the proper tool for cobwebs.

Schwert Espada Épée Kard 剣 검 Zwaard Miecz pt-br:Espada Меч 剑