Use Command Block to Give an Enchanted Diamond Pickaxe
This Minecraft tutorial explains how to program a command block to give a player an enchanted diamond pickaxe with screenshots and step-by-step instructions.
Let's explore how to do this.
Supported Platforms
This command block program is available in the following versions of Minecraft:
Platform | Supported (Version*) |
---|---|
Java Edition (PC/Mac) | Yes (1.8) |
Pocket Edition (PE) | No |
Xbox 360 | No |
Xbox One | No |
PS3 | No |
PS4 | No |
Wii U | No |
Nintendo Switch | No |
Windows 10 Edition | No |
Education Edition | No |
* 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:
Program the Command Block
First, you need to program the command block to give an enchanted diamond pickaxe 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.
This will bring up the programming console for the command block.
Now, type your command in the "Console Command" text box. The following command(s) will give a diamond pickaxe to the nearest player that is enchanted with Efficiency V, Unbreaking III and Fortune III). We use the give command to customize the diamond pickaxe.
In this example, we have entered the Minecraft Java Edition (PC/Mac) 1.8 command.
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.
When a player pulls the lever, the command block will be activated.
Now you will see the closest player (which is you) get an enchanted diamond pickaxe.
To see the enchantments on your new pickaxe, open your inventory by pressing the E key.
Now you can see that the diamond pickaxe is enchanted with Efficiency V, Unbreaking III, and Fortune III.
Congratulations, you have learned how to program a command block to give a player an enchanted diamond pickaxe.
Command Block Programs
Here are some command block programs that you can try:
Advertisements