In a PvP map I'm making, I want players to be given an enchanted stick. The stick is suppose to have Knockback I ans Sharpness II. Is there a way I can do this with the use of command blocks?
NOTE: I made the stick in the image bellow.
EDIT: I summoned a Iron Golem before taking the snapshot.
In a PvP map I'm making, I want players to be given an enchanted stick. The stick is suppose to have Knockback I ans Sharpness II. Is there a way I can do this with the use of command blocks?
NOTE: I made the stick in the image bellow.
The "ench" tag holds enchantments. Note that the IDs will soon be changed to alphabetical, so the following would have to be updated once that occurs:
Cool! It works great. What I realy want in the 1.8 update is for Knockback to be tuned down. Even at level 1, it still sends players flying. And can you tell me what the alphabetical enchantment IDs are please?
Wow! Thanks for the list. Now I can convert the IDs to ABC form.
EDIT: I tried to use the word IDs but it only gives me Protection.
Those are a copy of numerical IDs, not the alphabetical IDs. The alphabetical IDs are not yet implemented into NBT data, even in 1.8. A future 1.8 snapshot may implement them. /enchant has the list of alphabetical IDs, but are converted back to numerical in terms of NBT data, so you cannot use alphabetical enchantment (nor potion) IDs yet in /give or the like. The following is the list of what they would be:
Those are a copy of numerical IDs, not the alphabetical IDs. The alphabetical IDs are not yet implemented into NBT data, even in 1.8. A future 1.8 snapshot may implement them. /enchant has the list of alphabetical IDs, but are converted back to numerical in terms of NBT data, so you cannot use alphabetical enchantment (nor potion) IDs yet in /give or the like. The following is the list of what they would be:
I'm trying to use a command block to give a player a bow with infinity, punch II, and power II, but when I put this command: give @p bow 1 0 {ench:[{id:48,lvl:2},{id:49,lvl:2},{id:51,lvl:1}]} into the command block it says "[12:20:56] Data tag parsing failed: Invalid tag encountered, expected '{' as first char." Any idea how to fix this?
In the current snapshot and version, 18w15a, you should use this command: give @p bow{ench:[{id:34,lvl:1},{id:51,lvl:1}]} (a bow with unbreaking and infinity).
NOTE: I made the stick in the image bellow.
EDIT: I summoned a Iron Golem before taking the snapshot.
Check out my PvP map Here!
Check out my website Here!Website is down until further notice.The "ench" tag holds enchantments. Note that the IDs will soon be changed to alphabetical, so the following would have to be updated once that occurs:
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
Cool! It works great. What I realy want in the 1.8 update is for Knockback to be tuned down. Even at level 1, it still sends players flying. And can you tell me what the alphabetical enchantment IDs are please?
Check out my PvP map Here!
Check out my website Here!Website is down until further notice.Armour
0 Protection
1 Fire Protection
2 Feather Falling
3 Blast Protection
4 Projectile Protection
5 Respiration
6 Aqua Affinity
7 Thorns
34 Unbreaking
Weapons
16 Sharpness
17 Smite
18 Bane Of Arthropods
19 Knockback
20 Fire Aspect
21 Looting
34 Unbreaking
Tools
32 Efficiency
33 Silk Touch
34 Unbreaking
35 Fortune
Bows
48 Power
49 Punch
50 Flame
51 Infinity
Wow! Thanks for the list. Now I can convert the IDs to ABC form.
EDIT: I tried to use the word IDs but it only gives me Protection.
Check out my PvP map Here!
Check out my website Here!Website is down until further notice.Those are a copy of numerical IDs, not the alphabetical IDs. The alphabetical IDs are not yet implemented into NBT data, even in 1.8. A future 1.8 snapshot may implement them. /enchant has the list of alphabetical IDs, but are converted back to numerical in terms of NBT data, so you cannot use alphabetical enchantment (nor potion) IDs yet in /give or the like. The following is the list of what they would be:
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
Ok. Thanks for telling me that. I was so stupid to use non-coded IDs.
Check out my PvP map Here!
Check out my website Here!Website is down until further notice.I know you want level II and I but level 1000 will work and it's awesome so Enjoy!
JettCraft112
This has been solved, level 1000 enchants would kill anyone in a single hit, so that would be too OP.
Check out my PvP map Here!
Check out my website Here!Website is down until further notice.I'm trying to use a command block to give a player a bow with infinity, punch II, and power II, but when I put this command: give @p bow 1 0 {ench:[{id:48,lvl:2},{id:49,lvl:2},{id:51,lvl:1}]} into the command block it says "[12:20:56] Data tag parsing failed: Invalid tag encountered, expected '{' as first char." Any idea how to fix this?
I see nothing wrong with this command, I tested it out myself, it should work fine.
In the current snapshot and version, 18w15a, you should use this command: give @p bow{ench:[{id:34,lvl:1},{id:51,lvl:1}]} (a bow with unbreaking and infinity).