Hello, so I have Minecraft for the Nintendo Switch and am trying to put custom enchantments on an iron shovel using command blocks. Here’s what I put in the command block: “/give @p minecraft:iron_shovel 1 0 {ench:[{id:19,lvl:2},{id:16,lvl:2}]}”
I’m trying to add sharpness 2 and knockback 2 to an iron shovel, but whenever I activate the command block it doesn’t generate the item or even give an error message. Absolutely nothing happens. I’ve even tried triggering the command block in different ways, nothing seems to help. Is there something wrong with how I configured the command block?
Also, if you ever need help with commands, especially with give commands, just look up a generator, input desired results, and read what it produces, or just use that command.
Hello, so I have Minecraft for the Nintendo Switch and am trying to put custom enchantments on an iron shovel using command blocks. Here’s what I put in the command block: “/give @p minecraft:iron_shovel 1 0 {ench:[{id:19,lvl:2},{id:16,lvl:2}]}”
I’m trying to add sharpness 2 and knockback 2 to an iron shovel, but whenever I activate the command block it doesn’t generate the item or even give an error message. Absolutely nothing happens. I’ve even tried triggering the command block in different ways, nothing seems to help. Is there something wrong with how I configured the command block?
I know this is 2 days late, but in 1.13, the NBT data goes DIRECTLY after the item, and ench IDs were replaced with the enchantment names in quotes.
The correct command would look like this:
Also, if you ever need help with commands, especially with give commands, just look up a generator, input desired results, and read what it produces, or just use that command.
Hope this helps