Placing blocks on specific blocks only [duplicate]

I have one question. I have been creating some maps lately and I want to have a lever only place able on white wool. though I am always watching and reading tutorials on how to, but they don't seem to have it for 1.13, I really need this for 1.13 please help.

5

1 Answer

I'm not sure what command you've been using, but this definitely works:

/give @s lever{CanPlaceOn:["white_wool"]} 
4

You Might Also Like