Since a lot of people are asking this, i thought this might help.
To give enchanted items through command blocks, you must place the activator and connect it to 2 command blocks. On one of the command blocks, set it back by 1 with a redstone repeater and type in the set-back one "Enchant @p [Enchantment ID] [Level]". Then, in the one without the repeater, type /give @p [Item that is going to be enchanted] [Amount]. Then, you're done!
A video tutorial - (Please support my channel by subscribing )
To all of you people who think Notch is still working on the game, he stopped working on Minecraft in late 2011. Get your facts straight and stop spamming his twitter about Minecraft updates.
The Meaning of Life, the Universe, and Everything.
Location:
Oklahoma
Join Date:
10/31/2010
Posts:
126
Location:
Oklahoma, United States
Minecraft:
FrostedBirdz
Member Details
Correct me if I'm wrong, but It looks like that enchants the item on the selected slot on the quick access bar. If so then If your highlighted slot isn't the slot that the enchanted tool will be on, then nothing will be selected, and if it is full, then the tool cannot be enchanted, and the wrong item has a possibility of becoming enchanted. Just wanted to throw this out.
^Indeed. However, there is currently no way (as far as I have seen) to give a pre-enchanted item, or enchant specific items in a player's inventory.
3 things I want with command blocks:
Scripting (multiple commands per block, flags, etc)
placing items in specific inventory slots.
More parameters for /give, to the extent of NBT tags.
Until then, you'll have to make do with this or dispensers.
it IS possible! Using the /give command [I think...] you can use /give @p 276 1 [enchantment]:[level]
or am I thinking of Bukkit's /i command...
Rollback Post to RevisionRollBack
If you need any help with any computer issues, check my website for contact information. I also do Minecraft Mods... well basic ones, I can make blocks that do specific things. I've also dabbed into making Plugins... like before, simple plugins
That is, if nothing else was on the quick bar. Also, then you'd have to get rid of 8 items
Not only that, one of the ones taken away could very well be the one enchanted, leaving the player with an unenchanted item. Or, should they be carrying one of the same item, could be taken away as well.
Does anyone know how to give potions through command blocks? It seems to only let you spawn in water bottles with them. I know this is a topic on enchanted items, but i figured you guys might know.
Does anyone know how to give potions through command blocks? It seems to only let you spawn in water bottles with them. I know this is a topic on enchanted items, but i figured you guys might know.
Potions use damage values, which you can find on the wiki (listed on the tables as DV):
The above would, for example, provide a regeneration potion. Note that this doesn't apply a potion effect, just puts the potion into the players inventory (though I'm still rooting for the day that we may hopefully be able to apply potion effects directly via command block!)
The above would, for example, provide a regeneration potion. Note that this doesn't apply a potion effect, just puts the potion into the players inventory (though I'm still rooting for the day that we may hopefully be able to apply potion effects directly via command block!)
By the way, it IS possible to give pre enchanted items to the player in vanilla. But it can't be created in vanilla.
Basically you're going to make the item, enchant it, drop it down. Use sethblings createspawner filter on it. You now have a mob spawner that spawns your enchanted item.
You'll probably want to give it to the player by using a command block to teleport them next to the spawner, they pick it up, and then the player gets teleported back to original location.
By the way, it IS possible to give pre enchanted items to the player in vanilla. But it can't be created in vanilla.
Basically you're going to make the item, enchant it, drop it down. Use sethblings createspawner filter on it. You now have a mob spawner that spawns your enchanted item.
You'll probably want to give it to the player by using a command block to teleport them next to the spawner, they pick it up, and then the player gets teleported back to original location.
Kinda gimmicky, but it's possible.
Edit: video
That is cool!
Rollback Post to RevisionRollBack
I like custom maps, creative research and technical survival.
To give enchanted items through command blocks, you must place the activator and connect it to 2 command blocks. On one of the command blocks, set it back by 1 with a redstone repeater and type in the set-back one "Enchant @p [Enchantment ID] [Level]". Then, in the one without the repeater, type /give @p [Item that is going to be enchanted] [Amount]. Then, you're done!
A video tutorial - (Please support my channel by subscribing )
I hope this helps!
3 things I want with command blocks:
it IS possible! Using the /give command [I think...] you can use /give @p 276 1 [enchantment]:[level]
or am I thinking of Bukkit's /i command...
You're thinking of Bukkit. After the quantity comes the damage value in vanilla, not enchantment.
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/
A solution could be to give them 9 of the item then one of them will have to be enchanted, right?
That is, if nothing else was on the quick bar. Also, then you'd have to get rid of 8 items
Not only that, one of the ones taken away could very well be the one enchanted, leaving the player with an unenchanted item. Or, should they be carrying one of the same item, could be taken away as well.
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/
well my point is if its a minigame they shouldnt have any items in the first place
or you can do /clear @p to remove their inv.
Potions use damage values, which you can find on the wiki (listed on the tables as DV):
http://www.minecraft...et/wiki/Potions
In the give command:
The above would, for example, provide a regeneration potion. Note that this doesn't apply a potion effect, just puts the potion into the players inventory (though I'm still rooting for the day that we may hopefully be able to apply potion effects directly via command block!)
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/
i was gonna say that 0.0
You have to be holding the item
Interesting, seems a bit complex.
That is cool!
I like custom maps, creative research and technical survival.