In the snapshot 14w06a I know they added a new tag for items so they they can only be placed only on certain blocks ----> {CanPlaceOn:["example","example"]}
I'm making an adventure map and I would like to know what the tag is (If there is any) for making a pickaxe, shovel, axe, etc. that can only break the blocks you tell it to. If you know, please comment!
In the snapshot 14w06a I know they added a new tag for items so they they can only be placed only on certain blocks ----> {CanPlaceOn:["example","example"]}
I'm making an adventure map and I would like to know what the tag is (If there is any) for making a pickaxe, shovel, axe, etc. that can only break the blocks you tell it to. If you know, please comment!
The real command is:
/give @p minecraft:diamond_pickaxe 1 0 {CanDestroy:[minecraft:stone]}
You didn't put axe in pickaxe insted you put pick.
Just saying
Umm... how to add data tags to the CanDestroy tag??? I want a wooden shovel that only breaks cracked stone brick and coarse dirt with lore and a custom name. Here's what I have:
/give @p minecraft:wooden_shovel 1 0 {{CanDestroy:["minecraft:dirt:1","minecraft:stonebrick"]}{display:{Name:"Wooden Tool",Lore:["Not very sturdy, but sturdy enough to dig out..."]}}}
Can someone please expand on this so I can do my Haunted House in my theme park (watch for it!!!) because otherwise you won't be able to escape
Rollback Post to RevisionRollBack
Meep.
is great!
is AWESOME!!!
I wish that I could change my username, I did that to some other accounts
Umm... how to add data tags to the CanDestroy tag??? I want a wooden shovel that only breaks cracked stone brick and coarse dirt with lore and a custom name. Here's what I have:
/give @p minecraft:wooden_shovel 1 0 {{CanDestroy:["minecraft:dirt:1","minecraft:stonebrick"]}{display:{Name:"Wooden Tool",Lore:["Not very sturdy, but sturdy enough to dig out..."]}}}
Can someone please expand on this so I can do my Haunted House in my theme park (watch for it!!!) because otherwise you won't be able to escape
You cannot make it only dig coarse dirt, so either have it dig all kinds of dirt(dirt, coarse dirt and podzol) or don't have it dig dirt. Sorry for any bad english. Hope I helped.
Some specs: Minecraft 1.10 (1.10-forge1.10-12.18.0.2000-1.10.0/fml,forge/Forge) [My mods: Worldedit, Optifine]
I tried to make my own pickaxe starting off with this tool generator, then I edited it to implement the command by myself since the website didn't have the tag, but it's not working. Here's what I have so far:
Some specs: Minecraft 1.10 (1.10-forge1.10-12.18.0.2000-1.10.0/fml,forge/Forge) [My mods: Worldedit, Optifine]
I tried to make my own pickaxe starting off with this tool generator, then I edited it to implement the command by myself since the website didn't have the tag, but it's not working. Here's what I have so far:
Im trying to make an adventure map that is specifficly for MC 1.13. And i am trying to haide a wooden pickaxe in a secret chest but i dont know exactly how to get the shovel. and after i get the shovel is there a way(without using it 1000000 times) to lower the durrability?
Im trying to make an adventure map that is specifficly for MC 1.13. And i am trying to haide a wooden pickaxe in a secret chest but i dont know exactly how to get the shovel. and after i get the shovel is there a way(without using it 1000000 times) to lower the durrability?
1. change the "minecraft:wooden_pickaxe" to "minecraft:wooden_shovel" (might have a typo...)
2. There's a Damage value for tools, do something like this: /give @p wooden_shovel{Damage:30} 1
I'm making an adventure map and I would like to know what the tag is (If there is any) for making a pickaxe, shovel, axe, etc. that can only break the blocks you tell it to. If you know, please comment!
You'll want the "CanDestroy" tag:
Note that you can only specify the base ID, and nothing more. Meaning the above will allow the player to mine all stone types.
You can find a full list of tags for items here: http://minecraft.gamepedia.com/Player.dat_format#Item_structure
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/
Thank you so much you saved my life!
No its a new feature in the snapshots only.
The real command is:
/give @p minecraft:diamond_pickaxe 1 0 {CanDestroy:[minecraft:stone]}
You didn't put axe in pickaxe insted you put pick.
Just saying
Umm... how to add data tags to the CanDestroy tag??? I want a wooden shovel that only breaks cracked stone brick and coarse dirt with lore and a custom name. Here's what I have:
/give @p minecraft:wooden_shovel 1 0 {{CanDestroy:["minecraft:dirt:1","minecraft:stonebrick"]}{display:{Name:"Wooden Tool",Lore:["Not very sturdy, but sturdy enough to dig out..."]}}}
Can someone please expand on this so I can do my Haunted House in my theme park (watch for it!!!) because otherwise you won't be able to escape
Meep.
is great!
is AWESOME!!!
I wish that I could change my username, I did that to some other accounts
You cannot make it only dig coarse dirt, so either have it dig all kinds of dirt(dirt, coarse dirt and podzol) or don't have it dig dirt. Sorry for any bad english. Hope I helped.
/give @p minecraft:diamond_pickaxe 1 0 {CanDestroy:[minecraft:stone]}
Doesn't work?!
Only works if in adventure mode!
No its a new feature in the 1.8 only.
Which means you're wrong.
And, ya, note that:
1. It's added in 1.8
2. It only works in adventure mode
3. You can add multiple blocks in CanDestroy tag by ["a","b","c"]
4. You can hide the CanDestroy tooptip with the HideFlag tag.
Thanks bro!!! NOW I CAN MAKE MMMY OWN MAP!!!!!! MUAHAHAHAHAHA!!
Although I'm wondering is there a way to make Pickaxe, Shovel, and etc UNBREAKABLE!!
If you know, reply to me plz!!
Do /give @p iron_pickaxe 1 0 {Unbreakable:1}
You can replace the Iron Pickaxe to anything you want.
Also, MagmaFlarez already posted it.
Great, now how do i combine the unbreakable with the canbreak?
Edit: oh nevermind its up there lol
Is there a way to make it so that you can make it so it only breaks certain blocks and has enchantments?
How to add multi-tags in itens? like, baby zombie with diamond armor enchanted
Some specs: Minecraft 1.10 (1.10-forge1.10-12.18.0.2000-1.10.0/fml,forge/Forge) [My mods: Worldedit, Optifine]
I tried to make my own pickaxe starting off with this tool generator, then I edited it to implement the command by myself since the website didn't have the tag, but it's not working. Here's what I have so far:
/give @p wooden_pickaxe 1 0 {/give @p wooden_pickaxe 1 0 { AttributeModifiers: [ { AttributeName: "generic.maxHealth", Name: "generic.maxHealth", Amount: 4, Operation: 0, UUIDMost: 87451, UUIDLeast: 817839 } ], ench: [ { id: 32, lvl: 15 } ], HideFlags: 6, Unbreakable: 1 CanDestroy: minecraft:cobblestone}
I'll also have a photo at the bottom of this reply.
When I use the command, it doesn't work; all it does is give me a wooden pick with what I set from the website.
Changed from: "Unbreakable: 1 CanDestroy:"
To : "Unbreakable: 1, CanDestroy:"
Im trying to make an adventure map that is specifficly for MC 1.13. And i am trying to haide a wooden pickaxe in a secret chest but i dont know exactly how to get the shovel. and after i get the shovel is there a way(without using it 1000000 times) to lower the durrability?
1. change the "minecraft:wooden_pickaxe" to "minecraft:wooden_shovel" (might have a typo...)
2. There's a Damage value for tools, do something like this: /give @p wooden_shovel{Damage:30} 1