Ore generation procedure problem - Forge 1.16.5 31.6.0

Started by Veyas on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ore generation procedure problem - Forge 1.16.5 31.6.0
Thu, 06/03/2021 - 18:09 (edited)

So I have big problem with ore generation procedure. I want ore to be hidden inside stone, not outside. 

Procedure:

If: [[Not]->(Is air at (x-1) (y) (z)) and (Is air at (x+1) (y) (z))...ect] = [True]

Do: [Return][True]

Below "If, Do": [Return][False]

 

This still isnt working. I can see generated blocks outside walls even if I used [Not] to deny spawning near air.

Maybe I just don't get it. Im new wit Return procedure, but I've done almost the same long time ago and it worked.

 

I tried with solid block without [Not] and it failed. I even tried [Not] with solid block and then [Return][False] -> [Return][True] and it failed too. 

 

Edited by Veyas on Thu, 06/03/2021 - 18:09