So unfortunately, I don't think theres a solution to your problem.
#MINECRAFT PLACE BLOCKS COMMAND E WINDOWS 10#
Here is the list of the different game commands available in Minecraft Java Edition (PC/Mac), Pocket Edition (PE), Windows 10 Edition and Education Edition. Placing down blocks with a CanPlaceOn tag won't work either, cause the tags go away when you break that block. In Minecraft, there are cheats and game commands that you can use to change game modes, time, weather, summon mobs or objects, or find the seed used by the World Generator. You could try to run a clock that checks for blocks in your inventory, and then replace those with blocks with the CanPlaceOn tag to place those on specific blocks, but that's pretty complicated. In adventure mode, there's no way to make a block be placed on any block. Mouse (Scroll wheel button) - Pick Block Right Mouse - Use Item/Place Block. This requires command blocks unless you want to type the command. Here is a list of the default hotkeys when playing Minecraft: Java Edition.
![minecraft place blocks command e minecraft place blocks command e](https://i.ytimg.com/vi/P72nkjFCg5Q/maxresdefault.jpg)
The block should be replaced with any of the Minecraft blocks for example 'stone'. Overall, the command you need to run on a fast clock is: /data merge The two main methods of placing multiple blocks at the same time in vanilla minecraft are either: Fill Command, type '/fill x y z x2 y2 z2 block' replacing x,y,z with the start locations and x2,y2,z2 with the end location (making a rectangle area).
![minecraft place blocks command e minecraft place blocks command e](https://i.ytimg.com/vi/c2Yy30RFGMo/maxresdefault.jpg)
I used the block name table from the Minecraft wiki, and wrote a script to convert the names into the right format. There's no easy way to do this once the items are already in the player's inventory, so instead you should do it for the dropped item entities with /data.ĬanPlaceOn is also fairly annoying in that you need to name every single block you want to be able to place the block onto. The way you should do this, as other answers have already pointed out, is by putting CanPlaceOn tags onto the item. This if fairly easy to do, but the command required is very long.