Hi everyone. I’m trying to build this specific thing in my co-op Custom Map: one player has a building, and he has to describe it to the other player, who has to build it correctly in order to proceed to the next level. My question is: how do I check if the building is built correctly so that I can open the gate? Which command do I have to use?
Providing this is Java, take a look into '/execute if blocks' - it essentially checks if the build is exactly the same as the second coordinates provided, then you can run whatever output on the end you want.
so the first template x y and z are the first coords of one corner of the build, the second template x y and z are the opposite corner (so one is the coordinates of the lowest, bottom left corner block of the build, and the second is the highest, top right corner of the 'cube' of the build). Then, the text x y and z are the coords for the first corner of the build to test it against.
Then the all / masked, if they work how I think they do, mean: all means it must be exactly the same, including all the same air blocks must be air, while masked doesn't care about the air blocks, or if there are blocks in the original air spots.
Then after that, add 'run [your command]', and that should be good!
I can't try it in game at the moment, but in my head that's what should work.
Once again, hopefully this makes sense, but I can ramble a lot. If you want a better explanation, try and take a look at this!