Hello, I am wondering what I would use to loop all the blocks in a single chunk. For example, when I player places an end portal frame, how do I loop all the blocks in the chunk that the end portal frame is in and make it so I can change them. Meaning this:
code_language.skript:
On place of end portal frame named "chunk editor"
loop all blocks in that chunk that aren't air or bedrock
set 500 random loop blocks to air
loop again until all blocks are air or bedrock