What is the command to get block that you can place it in gamemode 2? [duplicate]
![What is the command to get block that you can place it in gamemode 2? [duplicate] - Exterior of modern white building corner with commerce organization located in urban city district on clear autumn day What is the command to get block that you can place it in gamemode 2? [duplicate] - Exterior of modern white building corner with commerce organization located in urban city district on clear autumn day](/assets/images/what_is_the_command_to_get_block_that_you_can_place_it_in_gamemode_2_duplicate_0.jpeg)
How do I get a block like a pressure plate, that allows me to place it in Adventure Mode (gamemode 2), because you can't normally place blocks?
Best Answer
/give @p stone 1 0 {CanPlaceOn:["minecraft:grass","minecraft:dirt"]}
This command give 1 (1, next to stone) of selected block (stone) to the closest player (@p), and can be placed on Grass and dirt. This needs Minecraft 1.8, to use it in pre-1.8, replace item names with their respective numbers.
Pictures about "What is the command to get block that you can place it in gamemode 2? [duplicate]"
![What is the command to get block that you can place it in gamemode 2? [duplicate] - Facade of modern residential house What is the command to get block that you can place it in gamemode 2? [duplicate] - Facade of modern residential house](/assets/images/what_is_the_command_to_get_block_that_you_can_place_it_in_gamemode_2_duplicate_1.jpeg)
![What is the command to get block that you can place it in gamemode 2? [duplicate] - Flooded small village with residential houses What is the command to get block that you can place it in gamemode 2? [duplicate] - Flooded small village with residential houses](/assets/images/what_is_the_command_to_get_block_that_you_can_place_it_in_gamemode_2_duplicate_2.jpeg)
![What is the command to get block that you can place it in gamemode 2? [duplicate] - Overhead view of colorful roofs of residential buildings and lush green trees in flooded small village What is the command to get block that you can place it in gamemode 2? [duplicate] - Overhead view of colorful roofs of residential buildings and lush green trees in flooded small village](/assets/images/what_is_the_command_to_get_block_that_you_can_place_it_in_gamemode_2_duplicate_3.jpeg)
How do you get a repeat command block?
To get a repeating command block, players must use the /give command like so: /give @p minecraft:repeating_command_block <amount> . Players can also change a normal command block into a repeating command block by selecting the option in the command block GUI.How do you set a command block with game mode?
Simply use Shift and the arrow keys to select the command. Then use Ctrl + C to copy the command and Ctrl + V to paste it in the new command block. On a Mac, use Cmd instead of Ctrl . To copy the entirety of a certain Command block or Text press Ctrl+A to select it all then Ctrl+C to copy it.18 Items You Can ONLY Get With COMMANDS In Minecraft (1.13-1.17+)
More answers regarding what is the command to get block that you can place it in gamemode 2? [duplicate]
Answer 2
For such commands as /summon and /setblock, place them inside of a tag
tag, like so: {id:"stone",Count:3 ... tag:{Name:"CanPlaceOn" ...}}
If you are making a player place it down use
/give minecraft:YourBlockNameHere {CanPlaceOn:["minecraft:YourBlockNameHere","minecraft:YourBlockNameHere"]}
for one placeable block
/give minecraft:YourBlockNameHere {CanPlaceOn:["minecraft:YourBlockNameHere"]}
Anyone please suggest edits. I'm very bad at explaining things
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Meruyert Gonullu, Maria Orlova, Pok Rie, Pok Rie