Linked Questions

2
votes
1answer
416 views

Minecraft commands CanPlaceOn - Granite [duplicate]

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 ...
0
votes
1answer
835 views

How do you use the JSON “can_place_on” tag to specify what kind of blocks (same name, different data value) to place on? [duplicate]

How would you use the can_place_on or can_destroy tags to specify which data values are valid for the blocks? Example: I want a diamond block that can be placed on magenta wool only, not any other ...
4
votes
2answers
614 views

Placing lever on specific stained clay colors? [duplicate]

I'm pretty new to command blocks, but I managed to understand the basics of the CanPlaceOn command for my adventure map. However, I want the player to be able to place levers on green stained clay. ...
-2
votes
1answer
471 views

How to make a terracotta block with specific placing properties [duplicate]

I am trying to create a custom map where colored terracotta can only be placed on other terracotta blocks of the same color, but I don't know the command.
1
vote
1answer
341 views

Hotel room key (data tag) trouble [duplicate]

I'm making a hotel and a room key system, I'm trying to make the keys only be able to be placed on certain types of wool. Example of what I'm doing: /give @p minecraft:lever 1 0 {CanPlaceOn:["...
0
votes
0answers
65 views

Button that can be placed on a colored block [duplicate]

How can I use the /give @p command to give me a button that can only be placed upon red stained clay in Adventure mode? I am using this command, but it's letting me place it on any block. /give @p ...
0
votes
0answers
28 views

error trying to put a command in minecraft [duplicate]

Hi (im spanish sorry for my english) im try to put this command in minecraft but not works, i need place a lever in chiseled stone bricks. /give @p lever 1 0 {CanPlaceOn:["minecraft:stonebrick 3&...
18
votes
3answers
98k views

How can I make a block only be placed on certain other blocks

I want people to only be able to place TNT on only Quartz Blocks and I've see this done before where you can only place blocks on certain other blocks but I'm not sure of the command used to do that. ...
3
votes
2answers
229 views

How to summon chest with button that can be placed on stone in minecraft?

I have a problem I want to create a chest that will have a button inside and this button can be placed on stone block. Can someone give me the command? I was trying this: (No Error) It was placing ...
0
votes
1answer
209 views

A Redstone Torch That Can Only Be Placed On Green Wool In Minecraft PE

I want to make a command block that gives the player a redstone torch that can be placed only on green wool, I know how to use the Can Be Placed Component But I don't know how to add the green wool ...