How to check if there is a block nearby

Started by odchody on

Topic category: Help with modding (Java Edition)

Last seen on 15:37, 20. May 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to check if there is a block nearby

Is there a way to make a procedure that will check if is there a block nearby an entity? Or is the entity nearby a block?

Last seen on 17:16, 29. May 2024
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Below i am posting two…
Wed, 04/17/2024 - 15:26

Below i am posting two pictures. In the first picture, click where it says "Procedure Templates" and you should get a dropdown menu of premade procedures. The one you want is "Check for a block in a 6x6x6 box". (it should be the fourth on the list) that should give you the second picture. Then if you click on the blue question marks, instructions on how to modify the procedure to do what you need it to do will pop up.

https://drive.google.com/file/d/1Jqa6HNGKIWeRwz55X6XlUAT1RFl1-doo/view?usp=sharing

https://drive.google.com/file/d/12kC4CiJVqJTTjFz79-2IASsahFJenvaj/view?usp=sharing

 

Last seen on 15:37, 20. May 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok
Wed, 04/17/2024 - 18:18

ok