How do I give myself Level 255 Enchantment?

This Minecraft tutorial explains how to program a command block to give a player an enchanted diamond sword in Minecraft with screenshots and step-by-step instructions.

How do I give myself Level 255 Enchantment?

Let's explore how to do this.

Supported Platforms

This command block program is available in the following versions of Minecraft:

PlatformSupported (Version*)
How do I give myself Level 255 Enchantment?
 Java Edition (PC/Mac)Yes (1.8)
How do I give myself Level 255 Enchantment?
 Pocket Edition (PE)No
How do I give myself Level 255 Enchantment?
 Xbox 360No
How do I give myself Level 255 Enchantment?
 Xbox OneNo
How do I give myself Level 255 Enchantment?
 PS3No
How do I give myself Level 255 Enchantment?
 PS4No
How do I give myself Level 255 Enchantment?
 Wii UNo
How do I give myself Level 255 Enchantment?
 Nintendo SwitchNo
How do I give myself Level 255 Enchantment?
 Windows 10 EditionNo
How do I give myself Level 255 Enchantment?
 Education EditionNo

* The version that it was added or removed, if applicable.
NOTE: Pocket Edition (PE), Xbox One, PS4, Nintendo Switch, and Windows 10 Edition are now called Bedrock Edition. We will continue to show them individually for version history.

Required Materials

In Minecraft, these are the required materials to use a command block:

How do I give myself Level 255 Enchantment?

1 Command Block

Program the Command Block

First, you need to program the command block to give an enchanted diamond sword with the /give command. This /give command will be run each time the command block is activated.

So, stand in front of the command block with your pointer (the plus sign) on the command block and click on the right mouse button.

How do I give myself Level 255 Enchantment?

This will bring up the programming console for the command block.

How do I give myself Level 255 Enchantment?

Now, type your command in the "Console Command" text box. The following command(s) will give a diamond sword to the nearest player that is enchanted with Sharpness V, Knockback II, Fire Aspect II, Looting III, and Unbreaking III. We use the give command to customize the diamond sword.

  • Java
  • PE
  • Win10
  • Edu

Command in Minecraft Java Edition (PC/Mac)

Command in Minecraft Java Edition (PC/Mac) 1.13 (also includes the Mending and Sweeping Edge III enchantments):

/give @p diamond_sword{Enchantments:[{id:sharpness,lvl:5},{id:knockback,lvl:2},{id:fire_aspect,lvl:2},{id:looting,lvl:3},{id:sweeping,lvl:3},{id:unbreaking,lvl:3},{id:mending,lvl:1}]} 1

Command in Minecraft Java Edition (PC/Mac) 1.9, 1.10, 1.11 and 1.12 (also includes the Mending enchantment):

/give @p diamond_sword 1 0 {ench:[{id:16,lvl:5},{id:19,lvl:2},{id:20,lvl:2},{id:21,lvl:3},{id:34,lvl:3},{id:70,lvl:1}]}

Command in Minecraft Java Edition (PC/Mac) 1.8:

/give @p diamond_sword 1 0 {ench:[{id:16,lvl:5},{id:19,lvl:2},{id:20,lvl:2},{id:21,lvl:3},{id:34,lvl:3}]}

Command in Minecraft Pocket Edition (PE)

This complex command is not yet possible in Minecraft Pocket Edition (PE), but will be available in a future release of the game. We will post the command here once it is possible to do in Minecraft PE.

Command in Minecraft Windows 10 Edition

This complex command is not yet possible in Minecraft Windows 10 Edition, but will be available in a future release of the game. We will post the command here once it is possible to do in Minecraft Windows 10 Edition.

Command in Minecraft Education Edition

This complex command is not yet possible in Minecraft Education Edition, but will be available in a future release of the game. We will post the command here once it is possible to do in Minecraft Education Edition.

In this example, we have entered the Minecraft Java Edition (PC/Mac) 1.8 command.

How do I give myself Level 255 Enchantment?

When you are finished entering the command, click on the Done button.

Activate the Command Block

Now, activate the command block with the redstone device such as a lever, button, or pressure plate. In this example, we are going to use a lever to activate the command block.

How do I give myself Level 255 Enchantment?

When a player pulls the lever, the command block will be activated.

How do I give myself Level 255 Enchantment?

Now you will see the closest player (which is you) get an enchanted diamond sword.

To see the enchantments on your new sword, open your inventory by pressing the E key.

How do I give myself Level 255 Enchantment?

Now you can see that the diamond sword is enchanted with Sharpness V, Knockback II, Fire Aspect II, Looting III, and Unbreaking III.

Congratulations, you have learned how to program a command block to give a player an enchanted diamond sword.

How to enchant lvl 1000 in Minecraft?

The standard syntax in Minecraft to create a 1000+ Sharpness weapon is "/give @p <item>{Enchantments:[{id:sharpness,lvl:<number>}]}" placed in the game's chat window. This command can also be applied to other items that can receive a Sharpness enchantment, such as an axe. The Sharpness level can also be increased.

What is the command to give Enchantment levels?

/experience add @s 10 levels This will give you 10 levels, a handy shortcut for enchanting items. You can also use /experience add @s 10 points to add only a certain number of xp instead of full levels. Try other targets with @ to give experience or levels to another player.