1
How do i spawn in a tool that can only break a certain block, like a wooden shovel that can only break dirt.
Create an account or sign in to comment.
4
1
XD
1
/give @p minecraft:diamond_sword 1 0 {CanDestroy:["minecraft:player_@a="@p"{~10 ~10 ~10}"]},{CustomName:"HeroSword",CustomNameVisible:1},{Lore:"Hit someone and it crashes their game "}
1
Thanks
1
/give @p minecraft:diamond_shovel 1 0 {CanDestroy:["minecraft:dirt"]}
Just replace diamond shovel with wooden_shovel
Just replace diamond shovel with wooden_shovel