Help with Procedure

Started by gustavowizard123 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with Procedure

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.

 

a

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i guess i could just 'remove…
Wed, 07/29/2020 - 05:36

i guess i could just 'remove' the block instead of replacing with air, when you remove a block it replace with air or nothing?

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yes remove block is just…
Wed, 07/29/2020 - 08:23

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.

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yes! thats what i wanted to…
Thu, 07/30/2020 - 01:42

yes! thats what i wanted to do... dont know how thou lol