6

How to make command blocks give enchanted items!

  • 29,705
    Views, 104 today
  • 7 Comments
  • 3 Favorites
  • Flag / Report

Get Embed Code

Forum:
HTML:
Link:
avatar
Jackeroo
Level 39 : Artisan Creeper Hugger
People often complain that you can't give an item with a command block with an enchantment in it.

But there is a way.

Right, make a command block to give you the item that you want to enchant, so /give @<p,r,a> <item>
Then send more redstone to another command block with the enchant command:
/enchant @<p,r,a> <enchantment ID> <enchantment power>

BEWARE: It only enchants the item your holding.

An enchantment ID Is another name for an enchantment but the name is turned into an number. ID's are used for commands. You can't give people items with a command by the name ONLY the ID.

Well what are the enchantment ID's?

[ID] [type]
0 = protection
1 = Fire protection
2 = feather falling
3 = blast protection
4 = projectile protection
5 = respiration
6 = aqua affinity
7 = thorns
34 = unbreaking
16 = sharpness
17 = smite
18 = bane of athropods
19 = knockback
20 = fire aspect
21 = looting
34 = unbreaking
32 = efficiency
33 = silk touch
34 = unbreaking
35 = fortune
48 = power
49 = punch
50 = flame
51 = infinity

Have fun with your adventure map! (if your making one)
Tags:Tutorial

More Blogs by JackerooView All

Comments :

Join us to post comments.

1 - 7 of 7

TrollingTree60
Level 1
New Miner
July 14, 2014, 1:15 pm

YES! I'm making a map :P

Sunrisebear
Level 15
Journeyman Nerd
July 2, 2014, 6:08 am

Thanks, I needed a lightsaber in my adventure-map

Sunrisebear
Level 15
Journeyman Nerd
July 2, 2014, 6:10 am

i want data tags

TiiMMYz
Level 2
Apprentice Miner
May 28, 2013, 12:53 pm

Hey, just wondering. Is there a way to set the focus on the hotbar? As if you give the player, say... a bow, and the player has their hotbar set on number 7, the item wont be enchanted...

4supervic4
Level 5
Apprentice Engineer
May 12, 2013, 1:43 am

change your title because it doesno t give you an enchanted item! you have to do it yourself

SonicAgent
Level 5
Apprentice Dragon
April 8, 2013, 9:35 pm

Dude, you are a LEGEND!!!

FxEvolution
Level 6
Apprentice Miner
March 15, 2013, 10:37 pm

Thx Man!

1 - 7 of 7