Minecraft – How to make Unbreakable tools in Minecraft 17w48a (1.13 minecraft snapshot)

minecraft-commandsminecraft-java-edition

I've tried the below command but it doesn't work anymore?

/give (yourname) minecraft:diamond_pickaxe 1 0 {Unbreakable:1} 

Is there still a way to get unbreakable tools in minecraft 17w48a?

Best Answer

If I remember correctly, the nbt data is now part of the (item) argument. You have to write your command like this:

/give @s minecraft:(put weapon here){Unbreakable:1} 1

put in the weapon without ( and )