I was using the /give command in Minecraft 1.16.5 and wrote out /give @s minecraft:wither_rose{display:{Name:"{\"text\":\"Custom Name\",\"italic\":\"false\"}"},CanPlaceOn:["minecraft:netherrack"]}. What I wanted it to do is make the block placeable on only netherrack, not dirt or grass blocks or anything like that. I then tried to place it on netherrack and it worked, but when I right clicked with it in my hand on a grass block, it also placed.

  • I believe the syntax for CanPlaceOn has changed since 1.12 or 1.13, if you're trying to figure it out in 1.14 or higher. So far it's either been removed, or has been changed in a way that nobody knows how to do so. Sorry that this won't solve your problem; I've wanted to have CanPlaceOn as well.
    – Cyanite17
    Feb 1, 2021 at 21:43
  • 1
    Was your game mode "adventure" when you tested it?
    – peabody
    Feb 1, 2021 at 21:49
  • Wait a minute, I had to be in adventure mode? Feb 1, 2021 at 22:33
  • Yep, I'm stupid. Feb 1, 2021 at 22:40

1 Answer 1


You have to be in adventure mode for CanPlaceOn to work.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .