Detect block within a certain radius

Started by PHPmyNO on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Detect block within a certain radius
Sun, 08/11/2024 - 04:36 (edited)

I am trying to make a procedure that checks for a block within a specific radius and then continues if the block is found.

Is there any way to do that?

Edited by PHPmyNO on Sun, 08/11/2024 - 04:36
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
there is a procedure…
Sun, 08/11/2024 - 11:34

there is a procedure template called check for block in 6x6x6 box

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay, but how do I edit the…
Tue, 08/13/2024 - 19:09

Okay, but how do I edit the radius then?

I tried editing the SX, SY, and the SZ, but it didn't work after that.

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
replace sx, sy, and sz with…
Tue, 08/13/2024 - 22:26

replace sx, sy, and sz with the same negative number and then replace the 6 in the repeat blocks with double the absolute value of the previous number

example: sx = -10; sy = -10; sz = -10; repeat 20 times