What is the Minecraft command for a sword with all enchantments?

Minecraft command for a sword with all enchantments
This command will give you a Minecraft sword with all enchantments (Image via Mojang Studios)

The Minecraft command for a sword with all enchantments enables every available enchantment for your weapon and makes it a formidable asset against enemies. This command transforms your ordinary sword into one of the most powerful weapons with all positive buffs added to it.

Here's the Minecraft command for a sword with all enchantments and how you can implement it.


What is the Minecraft command for a sword with all enchantments

The Minecraft command for a sword with all enchantments massively buffs your weapon (Image via Mojang Studios)
The Minecraft command for a sword with all enchantments massively buffs your weapon (Image via Mojang Studios)

Chart New Territories with the ultimate Minecraft Seed Generator!

The Minecraft command for a sword with all enchantments enables all the sword-based enchantments to provide you with a netherite sword, the most overpowered in the game. This custom line gives you a weapon with the following status effects:

  • Fire Aspect: Sets attacked target on fire.
  • Knockback: Increases the knockback dealt to mobs attacked with the sword.
  • Looting: Massively increases the amount of loot dropped when a mob is killed.
  • Mending: Uses your XP to mend your tools, weapons, and armor.
  • Sharpness: Greatly increases the attack damage dealt to mobs.
  • Smite: Buffs the attack damage against undead mobs.
  • Sweeping Edge: Boosts damage of the sweep attack.
  • Unbreaking: Massively increases the durability of the sword and decreases the chance of taking durability damage when used.
  • Bane of Arthropods: Increases the attack damage against arthropods like spiders.

It must be noted that negative enchantments like the curse of vanishing have not been applied since they are counterproductive and harm the player instead of mobs.

Also read: 10 best Minecraft Pale Garden seeds


How to use the Minecraft command for a sword with all enchantments

The Minecraft command for a sword with all enchantments is too long to be used with the regular command line (Image via Mojang Studios)
The Minecraft command for a sword with all enchantments is too long to be used with the regular command line (Image via Mojang Studios)

The Minecraft command for the fully enchanted sword can only be applied using a command block since it is too long to be applied through the chat console. A command block is a utility block that can execute large and complicated instructions that cannot be handled by the regular console.

The command block cannot be obtained in survival mode without cheats, so make sure you have cheats enabled to use this command. Additionally, this command and method is exclusive only to the Minecraft Java edition and cannot be replicated on the Bedrock edition.

Here's how you can use the Minecraft command for a sword with all enchantments:

1) Summon the command block

Summon the command block and place it on the ground (Image via Mojang Studios)
Summon the command block and place it on the ground (Image via Mojang Studios)

First, you must summon the command block using cheats. Open up the command console using forward slash and type the following line:

/give @s minecraft:command_block

You will notice that a command block has been added to your inventory. Place the command block on the ground to use it.

Also read: How to check the latest version of Minecraft on all platforms


2) Enter the command in the Command Block

Enter the command with all of the settings displayed above (Image via Mojang Studios)
Enter the command with all of the settings displayed above (Image via Mojang Studios)

Now you must enter the Minecraft command for a sword with all enchantments:

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

Interact with the command block and paste this command in the dialog box. Next, make sure the tabs below the line are set to the following settings. Toggle them till these settings are displayed:

  • Impulse
  • Unconditional
  • Always Active

Once done, select the Done button or hit enter. You will be rewarded with a netherite sword with all enchantments applied to your inventory. You can now use it to slay any mobs like the nefarious wither boss or the Ender dragon.

The unbreaking status effect in the Minecraft command for a sword with all enchantments ensures you can use the weapon without worrying too much about durability, while the other buffs make it relatively easier to take on any foe in the game. Make sure to complement the power of your weapons with some of the best healing items in the game to create a well-balanced build.

Also read: Minecraft creaking mob guide: Location, loot, uses, and more


Check out our other latest Minecraft articles:

Uncover new worlds with our Minecraft Seed Generator!

Quick Links

Edited by Adarsh J Kumar
Sportskeeda logo
Close menu
WWE
WWE
NBA
NBA
NFL
NFL
MMA
MMA
Tennis
Tennis
NHL
NHL
Golf
Golf
MLB
MLB
Soccer
Soccer
F1
F1
WNBA
WNBA
More
More
bell-icon Manage notifications