How to check for various blocks using a procedure

Started by nicholashammond2004 on Sun, 05/17/2020 - 23:10

Topic category: Help with modding (Java Edition)

Last seen on 19:05, 23. Jul 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to check for various blocks using a procedure
Sun, 05/17/2020 - 23:10

I'm trying to make a block convert into another block by checking if there is the same block underneath. I'm essentially trying to create border at the bottoms by telling the blocks to turn into a border if that block is not underneath it.

 

Thing is though, there are no OR statements for blocks where I can say "if the block below me is this block OR this block convert to this block," so my system just loops indefinitely between the border block and normal block because of the way my procedure is.

Anyway to overcome this?

Last seen on 19:05, 23. Jul 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I fixed it nevermind.
Sun, 05/17/2020 - 23:54

I fixed it nevermind.

Here's my procedure