{{For|the item in ''Minecraft Dungeons''|MCD:Sword}}<!--it's here because the MCD sword looks like an iron sword-->
{{Infobox item
| title = Iron Sword
| image = Iron Sword.png
| image2 = Enchanted Iron Sword.gif
| renewable = Yes
| durability = 250 (+1 in {{el|BE|short=1}})
| stackable = No
}}
'''Iron swords''' are variants of [[sword]]s, and are mainly obtained by crafting them with [[iron ingot]]s. They deal more damage than the [[stone sword]]. They can be [[smelt]]ed into a single [[iron nugget]].

== Obtaining ==
=== Mob loot ===
{{Main|Drops#Equipped items}}
A [[vex]] never drops its iron sword, because its main hand's {{cd|HandDropChances}} is {{cd|0}}. This is not affected by the Looting enchantment.

{{IN|be}}, [[pillager]]s and [[vindicator]]s that spawn from raids have a 4.1% chance (or a 5.12% chance on Hard difficulty) of dropping a damaged iron sword. This sword has a 50% chance of being enchanted.{{Needs testing|With what level of enchantment? Actually, that's a super hard question to answer in BE.}}

In both editions, [[zombie]]s have a random chance to spawn with an iron sword. The zombie has an 8.5% chance to drop the sword; this chance is also affected by Looting, with each level increasing the chance by 1% (11.5% with Looting III).

=== Generated loot ===
{{LootChestItem|iron-sword,level-enchanted-iron-sword,damaged-random-enchanted-iron-sword}}

=== Crafting ===
An iron sword is crafted using 1 [[stick]] and 2 [[iron ingot]]s.

{{Crafting
|showname=0
|name=[[Iron Sword]]
|B1=Iron Ingot
|B2=Iron Ingot
|B3=Stick
|Output=Iron Sword
|ignoreusage=1
|type=Combat
}}

=== Trading ===
[[File:Weaponsmith Iron Sword Trade.jpg|thumb|right|A weaponsmith trading an enchanted iron sword.]]

{{Trade sources}}

== Usage ==
=== Breaking ===
{{main|Sword#Breaking}}
A sword can also be used to destroy certain blocks 50% quicker, sometimes much quicker than with fists. Using a sword to destroy any block that doesn't break instantly by hand decreases its durability by 2; this includes bamboo, despite that the sword is the fastest tool for breaking it.<ref>{{bug|MC-195168||Swords consume double durability than they normally would when destroying bamboo saplings, bamboo, or cobwebs}}</ref>

If a sword is enchanted with [[Silk Touch]], either using [[Creative]] or [[commands]], cobwebs the sword destroys drop the cobwebs themselves instead of the usual string. This is due to the sword being classified as the proper tool for cobwebs.

==== Creative mode ====
In Creative mode, swords are unable to break blocks. However, they can still break placed entities such as [[minecart]]s, [[painting]]s, [[item frame]]s,{{only|java}} and [[armor stand]]s.<ref>{{bug|MC-27140}}</ref><ref>{{bug|MC-18463}}</ref>

=== Attacking ===
{{main|Sword#Attacking}}

An iron sword is used to deal [[damage]] to mobs and entities by {{control|attacking}} them. The iron sword has {{hp|6}} base damage {{in|je}} and {{hp|7}} base damage {{in|be}}, and can be enchanted to deal more damage. The following tables show how the [[Sharpness]] enchantment affects the damage dealt by the sword.

==== Extra damage of Sharpness enchantment ====
{| class="wikitable"
|+Sharpness extra damage
!Edition
!I
!II
!III
!IV
!V
|-
|{{JE}}
|{{hp|1}}
|{{hp|1.5}}
|{{hp|2}}
|{{hp|2.5}}
|{{hp|3}}
|-
|{{BE}}
|{{hp|1}}
|{{hp|2}}
|{{hp|3}}
|{{hp|5}}
|{{hp|6}}
|}

==== Total damage of sword with Sharpness ====
The tables below assume that the attack is fully charged{{only|java}}, the target is not wearing armor, and neither the attacker nor the target has any effects.

===== ''Java Edition'' =====
{| class="wikitable"
! colspan="7" |Iron sword Sharpness damage
|-
!Attack type
!Base damage
!Sharpness I
!Sharpness II
!Sharpness III
!Sharpness IV
!Sharpness V
|-
|Normal
|{{hp|6}} 
|{{hp|7}}
|{{hp|7.5}}
|{{hp|8}}
|{{hp|8.5}}
|{{hp|9}}
|-
|Critical
|{{hp|9}}
|{{hp|10}}
|{{hp|10.5}}
|{{hp|11}}
|{{hp|12}}
|{{hp|12.5}}
|}

===== ''Bedrock Edition'' =====
{| class="wikitable"
! colspan="7" |Iron sword Sharpness damage
|-
!Attack type
!Base damage
!Sharpness I
!Sharpness II
!Sharpness III
!Sharpness IV
!Sharpness V
|-
|Normal
|{{hp|7}} 
|{{hp|8}}
|{{hp|9}}
|{{hp|10}}
|{{hp|12}}
|{{hp|13}}
|-
|Critical
|{{hp|10.5}}
|{{hp|12}}
|{{hp|13.5}}
|{{hp|15}}
|{{hp|18}}
|{{hp|19.5}}
|}

=== Repairing ===
==== Combining ====
{{Crafting
|Damaged Iron Sword
|Damaged Iron Sword
|Output=Iron Sword
|type=Tools
|ignoreusage=1
|showdescription=1
|description=The durability of the two swords is added together, plus an extra 5% durability.
}}
{{Grinding
|showdescription=1
|ingredients=2x Damaged Iron Sword
|Damaged Iron Sword
|Damaged Iron Sword
|Iron Sword
|description=The durability of the two swords is added together, plus an extra 5% durability.
}}

==== Anvil repair ====
{{Main|Anvil mechanics#Unit repair}}
{{Repairing
| head=1
| Damaged Iron Sword
| Damaged Iron Sword; Iron Ingot
| Iron Sword
| tail=1
}}

A sword can be repaired in an [[anvil]] by adding units of the [[tiers]]' repair material, with each repair material restoring 25% the sword's maximum durability, rounded down. Two swords of the same tier can also be combined in an anvil. Both methods preserve the sword's [[enchantment]]s.

=== Enchantments ===
An iron sword can receive the following [[enchantment]]s:

{| class="wikitable sortable col-2-center col-3-right"
|+
!Name
!Description
!Max level
![[Enchanting|Method]]
!Weight
|-
|[[Sharpness]]<ref group=note name=note1>Sharpness, Smite, and Bane of Arthropods are mutually exclusive.</ref>
|Increases the damage dealt.
|V
|{{BlockLink|Enchanting Table}}<br/>{{BlockLink|Anvil}}
|10
|-
|[[Smite]]<ref group=note name=note1/>
|Increases the damage dealt to [[undead]].
|V
|{{BlockLink|Enchanting Table}}<br/>{{BlockLink|Anvil}}
|5
|-
|[[Bane of Arthropods]]<ref group="note" name=note1/>
|Increases the damage dealt to [[arthropods]].
|V
|{{BlockLink|Enchanting Table}}<br/>{{BlockLink|Anvil}}
|5
|-
|[[Looting]]
|Increases the amount of [[drops]] when killing an entity with the sword.
|III
|{{BlockLink|Enchanting Table}}<br/>{{BlockLink|Anvil}}
|2
|-
|[[Knockback]]
|Increases the knockback dealt.
|II
|{{BlockLink|Enchanting Table}}<br/>{{BlockLink|Anvil}}
|5
|-
|[[Fire Aspect]]
|Ignites any targets hit by the sword. {{IN|bedrock}}, it also lights unlit [[candle]]s, [[campfire]]s, and [[TNT|blocks of TNT]] when used.
|II
|{{BlockLink|Enchanting Table}}<br/>{{BlockLink|Anvil}}
|2
|-
|[[Sweeping Edge]]{{Only|java|short=1}}
|Increases the sweeping damage dealt.
|III
|{{BlockLink|Enchanting Table}}<br/>{{BlockLink|Anvil}}
|2
|-
|[[Unbreaking]]
|Grants a chance to negate durability consumption.
|III
|{{BlockLink|Enchanting Table}}<br/>{{BlockLink|Anvil}}
|5
|-
|[[Mending]]
|Repairs the sword when obtaining [[experience]].
|I
|{{BlockLink|Anvil}}
|2
|-
|[[Curse of Vanishing]]
|The sword vanishes on death, not dropping as an item.
|I
|{{BlockLink|Anvil}}
|1
|}

{{Notelist}}

=== Smelting ingredient ===
An iron sword can be smelted into an iron nugget using a [[furnace]] or [[blast furnace]].
{{Smelting|showname=1|Iron Sword|Iron Nugget|0,1}}

== Sounds ==
{{main|Sword#Sounds}}
Iron swords make a sound when used to attack an [[entity]]. The sound depends on how the attack is landed. Their sounds are shared with other types of swords.

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Iron Sword
|spritetype=item
|nameid=iron_sword
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Iron Sword
|spritetype=item
|nameid=iron_sword
|id=308
|form=item
|foot=1}}

== Achievements ==
{{load achievements|Time to Strike!;Overkill}}

== Video ==
{{yt|0BqdotT5G7g}}

== History ==
{{HistoryTable
|{{HistoryLine|java indev}}
|{{HistoryLine||0.31|dev=20091231-2255|[[File:Iron Sword JE1 BE1.png|32px]] Added swords. At this point, iron swords are the only tier of sword in the game.
|Swords cannot be [[craft]]ed yet, but can be added to the player's [[inventory]] during world creation.}}
|{{HistoryLine||0.31|dev=?|The sword is no longer added to the player's inventory during world creation.}}
|{{HistoryLine||0.31|dev=20100128|With the addition of tool tiers, the existing swords are now known as iron swords.
|Added iron swords to the item [[chest]] in the Indev house.
|An iron sword held by the player is now rendered to appear more 3D.}}
|{{HistoryLine||0.31|dev=20100129|Iron swords can now be crafted.}}
|{{HistoryLine|||dev=20100131|Iron swords now have [[durability]].
|Iron swords last longer than stone and wooden swords do.
|An iron sword now loses 1 durability when used to attack, and 2 durability when used to break a block.}}
|{{HistoryLine|java beta}}
|{{HistoryLine||1.2|Gave the iron swords more [[durability]].
|Iron swords previous only had 128 durability.}}
|{{HistoryLine||1.5|Increased the damage of the iron sword by {{hp|1}}, from {{hp|8}} to {{hp|9}}, to match the increase in the player's barehanded damage.}}
|{{HistoryLine||1.8|dev=Pre-release|Added the ability to [[Blocking/Sword|block with an iron sword]], giving the [[player]] more options in [[combat]].
|Iron swords deflect 50% of incoming melee damage, non-magical projectiles like arrows and explosion damage, and a bit of knockback.
|The iron sword is held in front of the player and its durability is not reduced by blocking.
|The player moves at a slower rate than [[sneaking]] when blocking with an iron sword.
|Decreased the damage of the iron sword back to the damage it has before pre-Beta 1.5 ({{hp|8}}).}}
|{{HistoryLine|java}}
|{{HistoryLine||1.0.0|dev=Beta 1.9 Prerelease 3|Iron sword [[damage]] has been reduced in order to keep [[enchanting]] balanced. Reduced the iron sword's damage from {{hp|8}} to {{hp|6}}.
|Iron swords are now found in the new [[stronghold]] altar [[chest]]s.}}
|{{HistoryLine|||dev=Beta 1.9 Prerelease 4|Iron swords can now be enchanted in the [[enchantment table]].}}
|{{HistoryLine||1.1|dev=12w01a|Iron swords are now found in [[village]] blacksmith chests.}}
|{{HistoryLine||1.2.1|dev=12w06a|There is a rare chance of obtaining an iron sword by killing a [[zombie]], with a 20% chance of the sword being enchanted.}}
|{{HistoryLine|||dev=12w21a|[[trading#Blacksmith|Blacksmith]] villagers now sell iron swords for 7–10 emeralds.
}}
|{{HistoryLine||1.4.2|dev=12w32a|A [[Zombie]] sometimes spawns with an iron sword, allowing it to deal extra [[damage]].}}
<!-- This is a bug, right?
{{History|||dev=12w34a|If a [[player]] has dyed leather armor equipped and selected a sword of any kind, it appears in the color of the dye applied to the armor, when switching to second or third person view.}}
-->
|{{HistoryLine||1.6.1|dev=13w21a|Instead of replacing the barehanded [[damage]] of ({{hp|1}}), iron swords now add their damage onto the barehanded damage, which results in them doing {{hp|1}} more damage than before.}}
|{{HistoryLine|||dev=13w25b|In [[Creative]] mode, iron swords are no longer able to break [[block]]s, and no [[sound]] plays when they're hit with one.<ref>{{bug|MC-18368}}</ref>}}
|{{HistoryLine|||dev=13w21a|Instead of replacing the barehanded [[damage]] ({{hp|1}}), iron swords now add their damage onto the barehanded damage, which results in them doing {{hp|1}} more damage than before.}}
|{{HistoryLine||1.8|dev=14w02a|[[Trading#Weaponsmith|Weaponsmith]] villagers now sell enchanted iron swords for 9–10 emeralds. Unenchanted swords are no longer sold.}}
|{{HistoryLine|||dev=14w25a|Blocking immediately after attacking no longer continues the swing animation.<ref>{{bug|MC-201394}}</ref>}}
|{{HistoryLine|||dev=14w30a|Iron sword holding position have been tweaked, and the blocking animation has changed. Blocking while mining was made impossible.}}<!--It seems like it still does on servers like Hypixel-->
|{{HistoryLine||1.9|dev=15w31a|[[Enchanted]] iron swords can now be found in [[end city]] chests.}}
|{{HistoryLine|||dev=15w33c|Iron swords no longer block attacks. Instead, [[shield]]s are used.}}
|{{HistoryLine|||dev=15w34b|Iron swords now use the attack speed [[attribute]]. The attack speed of a sword is 1.25 or 0.8 seconds.}}
|{{HistoryLine|||dev=15w34c|Nerfed iron swords, they now do {{hp|1}} less [[damage]] and have an attack speed of 1.45, or 0.69 seconds.
|Iron swords can now do a sweep attack when moving at walking speed or slower, which knock back [[mob]]s near the one hit. The [[attack speed]] meter must be filled for it to work.}}
|{{HistoryLine|||dev=15w36a|Each [[Sharpness]] level now adds {{hp|1}} damage to the base damage at level I and an additional {{hp|0.5}} for each additional level, instead of the flat {{hp|1.25}} per level it added before.}}
|{{HistoryLine|||dev=15w37a|Iron swords now have an attack speed of 1.6, or 0.63 seconds.}}
|{{HistoryLine|||dev=15w49a|Sweep attack now does {{hp|1}} damage to affected [[mob]]s and players.}}
|{{HistoryLine||1.11.1|dev=16w50a|Iron swords now [[smelt]] down into one [[iron nugget]].
|Added [[Sweeping Edge]] enchantment, which can be put on iron swords..}}
|{{HistoryLine||1.13|dev=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these iron sword's numeral IDs was 267.}}
|{{HistoryLine|||dev=18w10a|Iron swords can now generate in [[buried treasure]] chests.}}
|{{HistoryLine||September 10, 2018|link={{tweet|JasperBoerstra|1039167196801458176}}|[[File:Iron Sword JE2 BE2.png|32px]] [[Jasper Boerstra]] tweets an image of updated sword textures.}}
|{{HistoryLine||1.14|dev=18w43a|[[File:Iron Sword JE2 BE2.png|32px]] Changed the texture of iron swords.
|Iron swords now break [[bamboo]] instantly.}}
|{{HistoryLine||1.16.2|dev=20w30a|Damaged enchanted iron swords can now be found in [[bastion remnant]] chests.}}
|{{HistoryLine|upcoming java}}
|{{HistoryLine||Combat Tests|dev=1.14.3 - Combat Test|The attack speed for iron swords has been increased to 3.
|The base [[damage]] is now {{hp|2}}, meaning that iron swords now do {{hp|7}} points of damage.
|The attack reach of swords has been increased to 3.5 [[block]]s.}}
|{{HistoryLine|||dev=Combat Test 2|The attack speed of iron swords has been decreased to 2.5.}}
|{{HistoryLine|||dev=Combat Test 3|The attack speed of iron swords has been reverted back to 3.0.}}
|{{HistoryLine|||dev=Combat Test 4|Iron swords can now perform critical, knockback ([[sprint]]) hits on 100% charge.
|The attack reach of iron swords was decreased by 0.5 [[block]]. They now have a 3 blocks reach.}}
|{{HistoryLine|||dev=Combat Test 5|Weapons have been nerfed. The iron sword now does {{hp|5}} damage.}}
|{{HistoryLine|||dev=Combat Test 6|Iron swords' attack reach have been buffed by 0.5 block.
|Iron swords now always do sweep attack, even in the air.}}
|{{HistoryLine|||dev=Combat Test 7c|All weapons' attack reach have been nerfed by 0.5 [[block]]. Iron swords now have an attack reach of 3 blocks again.
|Iron swords no longer sweep without [[Sweeping Edge]] and 200% charge.}}

|{{HistoryLine|pocket alpha}}
|{{HistoryLine||v0.3.2|[[File:Iron Sword JE1 BE1.png|32px]] Added iron swords.}}
|{{HistoryLine||v0.4.0|Iron swords have replaced stone swords in the creative inventory.}}
|{{HistoryLine||v0.9.0|dev=build 1|Iron swords can now be found in [[stronghold]] altar [[chest]]s and inside blacksmith chests.}}
|{{HistoryLine||v0.12.1|dev=build 1|Instead of replacing the barehanded [[damage]] of ({{hp|1}}), iron swords now add their damage onto the barehanded damage, which results in them doing {{hp|1}} more damage than before.
|In [[Creative]] mode, iron swords are no longer able to break [[block]]s, and no [[sound]] plays when they're hit with one.{{check version}}
|[[Zombie]]s now rarely spawn holding an iron sword that has a chance to be [[drop]]ped.}}
|{{HistoryLine|||dev=build 11|Blocks can no longer be broken while holding an iron sword in Creative mode.{{check version}}}}
|{{HistoryLine||v0.15.0|dev=build 1|Iron swords are now sometimes dropped by [[husk]]s that spawn holding an iron sword.}}
|{{HistoryLine|pocket}}
|{{HistoryLine||1.0.0|dev=alpha 0.17.0.1|Enchanted iron swords can now be found in [[end city]] chests.}}
|{{HistoryLine||1.0.4|dev=alpha 1.0.4.0|Iron swords and are now sold by weaponsmith [[villager]]s.}}
|{{HistoryLine||1.1.0|dev=alpha 1.1.0.0|Iron swords can now be [[smelt]]ed into 1 [[iron nugget]] each.
|Added [[vex]]es, which rarely drop an iron sword when killed using [[Looting]] enchantment.}}
|{{HistoryLine|bedrock}}
|{{HistoryLine||1.10.0|dev=beta 1.10.0.3|[[File:Iron Sword JE2 BE2.png|32px]] The textures of iron swords have been changed.
|Iron swords can now be found in weaponsmiths chests in [[plains]] villages.}}
|{{HistoryLine||1.11.0|dev=beta 1.11.0.1|Iron swords can now be found in weaponsmiths chests in [[savanna]], [[snowy taiga]], [[taiga]] and [[desert]] villages.}}
|{{HistoryLine|||dev=beta 1.11.0.4|[[Pillager]]s and [[vindicator]]s that spawn in [[raid]]s can now drop iron swords upon [[death]].
|[[Trading]] has been changed. Iron swords sold by [[Trading#Weaponsmith|weaponsmith]] villagers now cost 2 [[emerald]]s.}}
|{{HistoryLine||1.17.30|dev=beta 1.17.20.20|Iron swords now break [[bamboo]] instantly.}}

|{{HistoryLine|console}}
|{{HistoryLine||xbox=TU1|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Iron Sword JE1 BE1.png|32px]] Added iron swords.}}
|{{HistoryLine||xbox=TU5|Iron swords can now [[Blocking/Sword|block]] attacks, giving the [[player]] more options in combat.}}
|{{HistoryLine||xbox=TU14|xbone=CU1|ps3=1.04|psvita=1.00|ps4=1.00|wiiu=Patch 1|switch=1.0.1|[[trading#Blacksmith|Blacksmith]] villagers now sell iron swords for 7–10 emeralds.}}
|{{HistoryLine||xbox=TU19|xbone=CU7|ps3=1.12|psvita=1.12|ps4=1.12|wiiu=Patch 1|switch=1.0.1|Instead of replacing the barehanded [[damage]] ({{hp|1}}), iron swords now add their damage onto the barehanded damage, which results in them doing {{hp|1}} more damage than before.|In [[Creative]] mode, iron swords are no longer able to break [[block]]s, and no [[sound]] plays when they're hit with one.}}
|{{HistoryLine||xbox=TU31|xbone=CU19|ps3=1.22|psvita=1.22|ps4=1.22|wiiu=Patch 3|switch=1.0.1|[[Trading#Weaponsmith|Weaponsmith]] villagers now sell enchanted iron swords for 9–10 emeralds. Unenchanted swords are no longer sold.|Blocking immediately after attacking no longer continues the swing animation.}}
|{{HistoryLine||xbox=TU36|xbone=CU25|ps3=1.28|psvita=1.28|ps4=1.28|wiiu=Patch 7|switch=1.0.1|The attack damage of iron swords is now shown above the hotbar when switching to it if the sword has less than 3 [[enchantments]].}}
|{{HistoryLine||xbox=TU46|xbone=CU36|ps3=1.38|psvita=1.38|ps4=1.38|wiiu=Patch 15|switch=1.0.1|[[Enchanted]] iron swords can now be found in [[end city]] chests.}}
|{{HistoryLine||xbox=TU53|xbone=CU43|ps3=1.49|psvita=1.49|ps4=1.50|wiiu=Patch 23|switch=1.0.3|Iron swords are now [[smelt]]able.}}
|{{HistoryLine||xbox=none|xbone=none|ps3=none|psvita=none|ps4=1.90|wiiu=none|switch=none|[[File:Iron Sword JE2 BE2.png|32px]] Changed the texture of the iron sword.}}
|{{HistoryLine||xbox=none|xbone=none|ps3=none|psvita=none|ps4=1.91|wiiu=none|switch=none|[[Pillager]]s and [[vindicator]]s that spawn in [[raid]]s can now drop iron swords upon [[death]].}}
|{{HistoryLine||ps3=none|psvita=none|ps4=1.91|The ability to block with an iron sword has been removed.}}

|{{HistoryLine|New Nintendo 3DS Edition}}
|{{HistoryLine||0.1.0|[[File:Iron Sword JE1 BE1.png|32px]] Added iron swords.
|Iron swords cannot block attacks.}}
}}

== Issues ==
{{issue list}}

== Trivia ==
* The iron sword's original [[texture]] came from [[Notch]]'s abandoned RPG, ''[[Legend of the Chambered]]''. After the iron sword's texture was created, the other swords followed.

== Gallery ==
=== In other media ===
<gallery>
Sword (item).png|An iron sword as it appears in ''[[Legend of the Chambered]]''.
IronSword replica.jpg|Foam replica of an iron sword.
File:SdrpIronsword.png|alt=|Iron Sword in the [[Super Duper Graphics Pack]].
File:Minecraft Live 2024 Jack Black holding a sword.webp|[[Steve (A Minecraft Movie)|Steve]] holding up a freshly-crafted Iron Sword in ''[[A Minecraft Movie]]''.
</gallery>

== See also ==
* {{ItemLink|Stone Sword}}
* {{ItemLink|Diamond Sword}}

== Navigation ==
{{Navbox iron}}
{{Navbox items|Tools}}

[[Category:Combat]]

[[pt:Espada de ferro]]
