How To

Minecraft Sword Enchantments: Complete List and Best Builds (Java 26.3)

All 10 Minecraft sword enchantments in Java 26.3: what each one does, which ones exclude each other, the best build and an anvil order to avoid Too Expensive.

Choose Sharpness for general damage or Smite for undead targets. Add Unbreaking and Mending for upkeep, and Looting for eligible drops. Sweeping Edge is available only in Java.

However, enchantment compatibility is strictly governed by Minecraft's game rules. Several weapon enchantments are mutually exclusive, one crucial mechanic remains exclusive to Java Edition, and combining books haphazardly on an Anvil will quickly trigger the dreaded "Too Expensive!" lockout. This guide covers all 10 sword enchantments in Minecraft Java 26.3, explains exact incompatibility rules, and reveals the optimal anvil order for crafting the enchanted survival sword.

Enchanted Netherite sword with glowing purple enchantment glint resting before an enchanting table surrounded by bookshelves and an anvil

Quick Answer: Suggested sword enchantments

  • General Survival enchanted sword: Sharpness V, Unbreaking III, Mending, Looting III, Sweeping Edge III (Java only), and Fire Aspect II.
  • Boss & Farm Specialist Sword: Smite V, Unbreaking III, Mending, Looting III, and Sweeping Edge III (Java only). Swap Sharpness for Smite to one-shot Wither Skeletons and shred the Wither boss.
  • Incompatibility Rule: You must choose exactly one damage enchantment: Sharpness, Smite, or Bane of Arthropods. They cannot coexist on the same weapon in Survival mode.
  • Avoid on Main Sword: Knockback II (pushes skeletons away into shooting range) and Curse of Vanishing (deletes weapon upon death).

Minecraft Sword Enchantments (Java 26.x)

There are exactly 10 enchantments in Minecraft that can be applied to swords in vanilla gameplay. The table lists maximum levels, effects, incompatibilities and edition differences.

Enchantment Max Level Effect & Combat Stats Conflicts Source
Sharpness
Sharpness
sharpness
Level V Adds +3.0 dmg on Java (0.5 × Lvl + 0.5) or +6.25 on Bedrock (+1.25/Lvl) vs all mobs. Universal damage baseline. Smite,
Bane of Arthropods
Table & Villagers
Smite
Smite
smite
Level V Adds +2.5 dmg/lvl (+12.5 total) vs Undead (Zombies, Skeletons, Withers). Enables 1-hit KOs. Sharpness,
Bane of Arthropods
Table & Villagers
Looting
Looting
looting
Level III Increases mob drop caps by +1/lvl. Boosts rare drop rates (e.g. Wither Skulls 2.5% to 5.5%). None Table & Villagers
Unbreaking
Unbreaking
unbreaking
Level III Grants a (100 / (Lvl + 1))% chance to consume durability. Effectively quadruples durability (4x lifespan). None Table & Villagers
Mending
Mending
mending
Level I Repairs 2 durability per XP point spent repairing the held sword. It can still break if durability runs out. None Treasure Only
Librarians & Chests
Sweeping Edge
Sweeping Edge
sweeping_edge
Level III Adds 50%, about 67% or 75% of the primary attack damage to the sweep’s base 1 damage at levels I, II or III. Crucial for mob XP grinders. (Java Only). None Table & Villagers
Fire Aspect
Fire Aspect
fire_aspect
Level II Sets targets on fire for 4s (Level I) or 8s (Level II). Causes livestock to drop cooked meat instantly. None Table & Villagers
Knockback
Knockback
knockback
Level II Increases knockback strength by 0.5 per level in Java; travel distance depends on resistance, terrain and movement. Repels Creepers, but pushes skeletons away. None Table & Villagers
Bane of Arthropods
Bane of Arthropods
bane_of_arthropods
Level V Adds +2.5 dmg/lvl only vs spiders, cave spiders, silverfish, endermites and bees. Redundant due to low spider HP. Sharpness,
Smite
Table & Villagers
Curse of Vanishing
Curse of Vanishing Curse
vanishing_curse
Level I Item disappears upon player death instead of dropping. Avoid on valuable survival gear. None Loot & Librarians

Damage Breakpoints: How Many Hits to Kill Common Mobs?

Understanding raw damage numbers is the key to choosing between Sharpness V and Smite V. Below is the real-world hits-to-kill comparison for a fully charged Netherite sword (8 base damage) on standard Java Edition difficulty:

Target Mob Mob Health (HP) Unenchanted Netherite Sharpness V Netherite (11 DMG) Smite V Netherite (20.5 DMG)
Zombie / Drowned 20 HP (2 Armor) 3 hits 2 hits (2 hits with critical attacks) 1 HIT (Instant KO)
Skeleton / Stray 20 HP (0 Armor) 3 hits 2 hits (2 hits with critical attacks) 1 HIT (Instant KO)
Wither Skeleton 20 HP (0 Armor) 3 hits 2 hits (2 hits with critical attacks) 1 HIT (Instant KO)
Creeper 20 HP (0 Armor) 3 hits 2 hits (2 hits with critical attacks) 3 hits (Not Undead)
Enderman 40 HP (0 Armor) 5 hits 4 hits (3 with critical attacks) 5 hits (Not Undead)
Spider / Cave Spider 12-16 HP 2 hits 1-2 hits 2 hits

Key Takeaway: Sharpness V fails to one-shot standard 20 HP undead monsters without a critical jump attack. Smite V delivers 20.5 damage per swing, wiping out Zombies, Skeletons, and Wither Skeletons in a fully charged hit. This makes Smite V the useful choice for mob XP grinders and Nether fortress skull hunting.

The 2 Best Sword Builds: General-Purpose vs. Undead Slayer

Because Sharpness and Smite are mutually exclusive, seasoned survivalists craft two specialized swords to maximize combat efficiency across all Minecraft dimensions.

Player executing sweeping attacks with an enchanted Netherite sword defeating mobs with Sweeping Edge III
Sweeping Edge III cleaves through clustered mobs simultaneously, making it indispensable for survival mob farms and dungeon crowd control on Java Edition.

Build 1: The All-Rounder enchanted sword (General Survival)

This is a general-purpose weapon for Overworld exploration, Nether fortress raiding, and End exploration.

  • Base Weapon: Netherite Sword
  • Damage: Sharpness V (+3.0 damage on Java / +6.25 on Bedrock).
  • Utility: Looting III, Unbreaking III, Mending.
  • Crowd Control: Sweeping Edge III (Java Edition).
  • Optional: Fire Aspect II (provides passive damage over time and instant cooked steak/porkchops on the road).

Sharpness V is useful against many mob types; a critical hit with a Netherite sword deals 15 raw damage in Java, so it does not one-shot an ordinary 20-HP hostile.

Build 2: The Undead & Wither Slayer (Mob Farm Specialist)

Smite affects undead mobs such as zombies, skeletons, Wither Skeletons and the Wither. When farming Wither Skeleton skulls or fighting the Wither boss, Smite vastly outperforms Sharpness.

  • Base Weapon: Netherite Sword
  • Damage: Smite V (+12.5 damage against undead, totaling 20.5 raw melee damage per swing).
  • Utility: Looting III, Unbreaking III, Mending.
  • Crowd Control: Sweeping Edge III (Java Edition).
  • Exclude: Fire Aspect II (optional; burning damage can change farm kill timing).

Verdict: Smite V allows you to one-shot standard Zombies, Skeletons, and Wither Skeletons without needing a critical jump-hit, drastically speeding up Nether fortress skull farming.

Why Experienced Players Skip Knockback and Bane of Arthropods

While Knockback II and Bane of Arthropods V are readily available on the enchanting table, their usefulness depends on the target and how you fight:

  • The Knockback Dilemma: Knockback II increases knockback strength; it does not guarantee a fixed six-block displacement. Against Skeletons, Drowned, and Pillagers, this immediately pushes ranged attackers into optimal firing range while forcing you to sprint across terrain to finish them. It also breaks the rhythm of sweeping attack combos in mob farms.
  • Bane of Arthropods Redundancy: Arthropod mobs (regular spiders, cave spiders, and silverfish) have naturally low health pools. A standard Sharpness V Netherite or Diamond sword already kills them in one or two hits, making specialized anti-spider damage completely unnecessary.

Enchanted Sword Commands (Java 26.x)

If you have cheats enabled or operate a creative sandbox server, you can spawn a fully enchanted sword instantly using modern syntax.

Java Edition 26.x (Data Component Syntax)

Minecraft 1.20.5 introduced item components; Java 26.x uses a flat enchantment map, [enchantments={...}]. Use this command to obtain the enchanted sword in a single command:

/give @p netherite_sword[enchantments={"minecraft:sharpness":5,"minecraft:unbreaking":3,"minecraft:mending":1,"minecraft:looting":3,"minecraft:sweeping_edge":3,"minecraft:fire_aspect":2}] 1

Bedrock Edition Command

In Bedrock Edition, hold an unenchanted Netherite Sword in your main hand and execute this series:

/enchant @s sharpness 5
/enchant @s unbreaking 3
/enchant @s mending 1
/enchant @s looting 3
/enchant @s fire_aspect 2

Need customized equipment commands with custom names, lore, or attribute modifiers? Use the MC Toolbox Enchant Command Generator to build commands visually for both Java and Bedrock Edition.

How to Beat the Anvil “Too Expensive!” Limit

In Survival mode, repeatedly combining enchanted books directly onto a sword triggers the Prior Work Penalty. Normal combining and repairs set the new prior-work penalty to twice the larger input penalty plus one. Rename-only operations do not increase it. If any individual anvil step costs 40 levels or more, Minecraft rejects the combination with the error “Too Expensive!”.

Minecraft Anvil interface showing Netherite sword combined with enchanted book and level cost
Combining books together in pairs before applying them to the sword keeps the total anvil penalty well below the 39-level ceiling.

The Binary Tree Combination Method

To prevent the 40-level lockout, combine your enchanted books into pairs before attaching them to the sword:

  1. Step 1: Combine Sharpness V book + Looting III book to Book Pair A.
  2. Step 2: Combine Unbreaking III book + Sweeping Edge III book to Book Pair B.
  3. Step 3: Combine Mending book + Fire Aspect II book to Book Pair C.
  4. Step 4: Combine Book Pair A + Book Pair B to Master Quad Book.
  5. Step 5: Combine your fresh Netherite Sword + Master Quad Book.
  6. Step 6: Apply Book Pair C to the sword.

By keeping the work penalty tree balanced, the listed fresh-book sequence costs 6, 6, 4, 11, 23 and 14 levels in order; prior anvil work or extra enchantments change these costs.

First-person view facing an enchanting table surrounded by 15 bookshelves while holding an enchanted sword and enchanted book
A standard 15-bookshelf setup unlocks level 30 enchantments, serving as the starting foundation before finishing your weapon on an anvil.

To calculate the exact minimal XP path for any set of books you have stored in your chests, use the MC Toolbox Anvil Order Optimizer. It calculates the mathematically optimal combination order with the displayed experience cost.

Other Minecraft Equipment Enchantment Guides

Related enchantment and crafting guides:

Gio Nui

Gio Nui

Independent web developer and editor of MC Toolbox. Guides are maintained alongside the site’s browser-based Minecraft tools, with commands, file formats and version notes reviewed during updates.