Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 114504

Anything related to the usage of commands, command blocks, and functions in the Minecraft game series. Always use this tag together with the [minecraft-java-edition], [minecraft-bedrock-edition], or [minecraft-education-edition] tag. Include details about the issue you're having (e.g. commands, error messages, screenshots, etc) and what you've tried so far to solve it. If you're building a redstone device without commands, use [minecraft-redstone] instead.

2 votes

How do I spawn enchanted armour with commands?

/give @p diamond_chestplate 1 0 {ench:[{id:0,lvl:200},{id:7,lvl:200}],HideFlags:4,Unbreakable:1} /give @p diamond_leggings 1 0 {ench:[{id:0,lvl:200},{id:7,lvl:200}],HideFlags:4,Unbreakable:1}
Skye's user avatar
  • 604
3 votes
Accepted

Summon a chest with enchanted items?

/setblock ~1 ~ ~ chest 0 replace {Items:[{id:"diamond_sword",Count:1,tag:{ench:[{id:16,lvl:1}]},Slot:13}]} Try that by using a command block /give @p command_block 1 That will summon a chest 1 bloc …
Skye's user avatar
  • 604