My command is
/give @p lever 1 0 {"can_place_on" : {"blocks" : ["diamond"]}}
and it keeps responding by saying
Component 'can_place_on' is not a supported component.
What did I do wrong?
You probably mean diamond_block
.
/give @p lever 1 0 {"can_place_on":{"blocks":["diamond_block"]}}