Minecraft commands CanPlaceOn - Granite [duplicate]
//ads -- adsterra.com -- native banner
?>
I have a problem. I'm trying to make a command to give a block that can only be placed on granite:
/give @p wool 1 6 {CanPlaceOn:["minecraft:stone[variant=2]"]}
However, this isn't working. Can someone help me?
Best Answer
{CanPlaceOn:["minecraft:stone"]} will allow you to place the block on all stone variants.
Unfortunately CanPlaceOn (and CanDestroy) do not support only specifying a specific data value of a block. A bug report on it was marked as invalid.
Pictures about "Minecraft commands CanPlaceOn - Granite [duplicate]"
![Minecraft commands CanPlaceOn - Granite [duplicate] - White Wooden Kitchen Cabinet and White Wooden Door Minecraft commands CanPlaceOn - Granite [duplicate] - White Wooden Kitchen Cabinet and White Wooden Door](/assets/images/minecraft_commands_canplaceon__granite_duplicate_1.jpeg)
![Minecraft commands CanPlaceOn - Granite [duplicate] - Grey Wall Minecraft commands CanPlaceOn - Granite [duplicate] - Grey Wall](/assets/images/minecraft_commands_canplaceon__granite_duplicate_2.jpeg)
![Minecraft commands CanPlaceOn - Granite [duplicate] - Marble Surface Minecraft commands CanPlaceOn - Granite [duplicate] - Marble Surface](/assets/images/minecraft_commands_canplaceon__granite_duplicate_3.jpeg)
Minecraft Tutorial Part 038 - CanPlaceOn and CanDestroy
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Pixabay, Curtis Adams, Scott Webb, Henry & Co.
