Minecraft commands CanPlaceOn - Granite [duplicate]

Minecraft commands CanPlaceOn - Granite [duplicate] - Full Frame Shot of Abstract Background

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] - Grey Wall
Minecraft commands CanPlaceOn - Granite [duplicate] - Marble Surface





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.