I had the idea of creating a command block to make easy changes to the floor of a house. In order to make it user friendly to others, I wanted to have the command block do a fill
command based on a block that was placed on top of it.
I understand that there are limitations to retrieving a blocks data on Bedrock Edition and there are only 2 workarounds I can think of:
Have 1 command block for each type of block there is in Minecraft for the player to choose from.
- I'd rather not do this due to amount of block choices there are.
Have a set of command blocks run
clone
commands to copy the user-selected block to each tile of the floor.- I'd rather not do this either since the floor has over 1600 blocks and i don't feel like writing that many lines of code on my Switch :P
My question is: Is there a simple way to do this without using a massive amount of code or command blocks?