Minecraft - put block on certain block?

Br
7

What is the command for a block that can only be set on a specific block? (Stone only on Observer)

Version 1.15.2

Be

This is possible with this command. But this only works if the player is in adventure mode.

/ give @p minecraft: stone {CanPlaceOn: ["minecraft: observer"]} 1

Br

Does not work in 1.15.2: /

gl

But should work. Did you do everything right? Wolffe2 almost always writes the correct answer. And this is correct.

Be

I'll try it out as soon as I'm home.

Br

Didn't work, it was apparently due to essentials. "/ Minecraft: give @p minecraft: stone {CanPlaceOn: [" minecraft: observer "]} 1

Br

If Wolff2 almost always writes the correct answer, then I have a contact person for command questions.

gl

Yes i also hehe