TransWikia.com

How do I use CanPlaceOn or other tags to make a block placeable only on 1 block type?

Arqade Asked by Zen Jacobsen on February 24, 2021

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.

One Answer

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

Correct answer by pppery on February 24, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP