Help with Procedure

Started by gustavowizard123 on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 years ago
Joined Sep 2016
Points:
1170

User statistics:

  • Modifications: 0
  • Forum topics: 54
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 404
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

Active 3 years ago
Joined Sep 2016
Points:
1170

User statistics:

  • Modifications: 0
  • Forum topics: 54
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 404
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?

Active 2 years ago
Joined Nov 2019
Points:
854

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 388
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.

Active 3 years ago
Joined Sep 2016
Points:
1170

User statistics:

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

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