Code:
command /addblocks:
trigger:
loop all blocks in radius 10 around player:
if loop-block is red wool:
add location of loop-block to {red::*}
broadcast "%{red::*}%"
else if loop-block is white wool:
add location of loop-block to {white::*}
broadcast "%{white::*}%"
else if loop-block is blue wool:
add location of loop-block to {blue::*}
broadcast "%{blue::*}%"
I have this to define locations of blocks but now i want to check if the player
placed them correctly like it is supposed to be. How can i do this?
Code:
if "%event-region%" contains "dutch":
loop blocks in radius 10 around player:
if {red::*} contains loop-block:
broadcast "works"
this is the pattern the player has to make inside the Polished Andesite:
View attachment 5227