Is there an easier way to check the surroundings for a block

Started by Chezburber on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there an easier way to check the surroundings for a block
Sun, 07/27/2025 - 03:48 (edited)

This is a follow up question/reattempt of another post i made but:

 

Im making (or trying to make) a procedure that checks the surroundings of any log block in the world if it has a fire in a 3 x 1 x 3 + 1 block upwards, but when i find similar items, theres big blocks of code.

Edited by Chezburber on Sun, 07/27/2025 - 03:48
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There is a procedure…
Sun, 07/27/2025 - 04:58

There is a procedure template that lets you check a square around the coordinates, you will have to change the size of the square

Example