I used this command: /give @p minecraft:iron_hoe{CanDestroy:["grass_block"]} 1 250
, but it won't give the hoe with the certain durability. How do I make this work in 1.13.2?
-
2Possible duplicate of An item to break only SPECIFIED blocks? and How can I give myself a damaged item on 1.13?– ppperyCommented Feb 10, 2022 at 5:06
3 Answers
Actually just try /give @p minecraft:iron_hoe{CanDestroy:["grass_block"]} 1
and then just use it yourself to wear out durability, or if you don't like that you can try /give @p minecraft:iron_hoe{CanDestroy:["grass_block"]} 1 250
again.
the actual command you're looking for is the following;
give @p iron_hoe{CanDestroy:["grass_block"],Damage:<value>}
for <value>
, place the amount of damage you want to have on it. if you have a specific durability value in mind, subtract that from the max durability the item has to start.
try:
/give @p 1 250 minecraft:iron_hoe{CanDestroy:["grass_block"]}
kbai