Started by
gustavowizard123
on
Topic category: Help with Minecraft modding (Java Edition)
im trying to set up a procedure to make a area of 5x5x5 square to place a block (SpaceAir) on those areas if the block is Air (so make a space air lock), it works, but im testing for 1 3x3x3 area now (that is 27 calls) for a 5x5x5 area would be 125 calls! i was wondering if i could do it using variables or something, so the procude dont get huge in size.
i guess i could just 'remove' the block instead of replacing with air, when you remove a block it replace with air or nothing?
yes remove block is just replacing with air block.
you can use the "repeat" or "while" code block to loop through your iterations of checking an N1xN2xN3 area.
yes! thats what i wanted to do... dont know how thou lol