check for a block in a radius

Started by LIUKRAST on

Topic category: Help with MCreator software

Last seen on 07:57, 6. Jun 2021
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
check for a block in a radius

So im creating a redstone block to detect if i place a block in a radius of 5 blocks about this redstone block. I created two blocks versions ( on and off ) and already coded the redstone output. I only need the procedure to swap from off to on but idk how to check for a block in a 5 blocks radius. Any idea?

Last seen on 11:37, 11. Apr 2022
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@Klemen What's it called?
Wed, 02/17/2021 - 17:58

@Klemen What's it called?

Last seen on 07:57, 6. Jun 2021
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(No subject)
Sat, 04/03/2021 - 13:38

>>MISSING IMAGE<<

Last seen on 00:43, 4. Jan 2022
Joined Apr 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Haven't it idk why
Tue, 08/03/2021 - 13:21

Haven't it idk why

Last seen on 19:33, 16. Apr 2023
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yes i see, but how do i edit…
Tue, 02/22/2022 - 15:04

yes i see, but how do i edit the range? like 4x4? or 8x8? or 5x5x5?

Last seen on 21:27, 14. May 2022
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm pretty sure that you can…
Fri, 03/04/2022 - 22:21

I'm pretty sure that you can set the sx, sy, and sz variables to half of each number of your range, then make that negative (if you are doing 8x8x8, set sx, sy, sz to -4) Then put the original number into each repeat (if you are doing 8x8x8, make each repeat go 8 times)

Last seen on 19:16, 25. Dec 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Are you able to make it…
Sun, 12/25/2022 - 19:02

Are you able to make it preset where you're standing?  I am trying to make a boss summonable only if there are no blocks around you in the way, but of course, you're standing on the ground, so I don't want it to include blocks below you.