I want to make a block placer block that has a gui. You put an item in the slot in the gui, then power the block with redstone to make it place the block. The issue is, in the procedures, I can't put the "Get item from slot _ of inventory _" block or a variable of any kind in the "Place ___ At x, y, z" block like this: "Place <Get item from slot 0 of inventory blockPlacer> at x, y, z"
This is because the gui could have an item that is not a block in it. My suggestion is that you make a way to only be able to put specified items in gui slots, changeable for each slot in it's settings. Then, "Get item from slot _ of inventory _" could have a counterpart that is only for blocks, so you could make the "Place _ at x, y, z" place more than one thing.
Also, you could maybe implement an item variable, where you can set the variable to different items.
Basically, I just don't want to specify every single block in Minecraft to be able to place.