Additional generation condition not working properly

Started by Ypermat on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Additional generation condition not working properly
Thu, 02/16/2023 - 21:14 (edited)

Hello,

So I want to add a condition to an ore spawn. I want it to spawn above Y-119, and only at the surface.

Here is what I want to do (if true : ore spawn) :

But here is what MCreator tell me to do :

Because the condition MUST end with a return value. But if I do so, the value will be always false, and so the ore does not sapwn.

 

I tried other ways like :

Or

And so the ores does spawn above 119, but not at the surface.

 

How can I do ? There is not enough explanation about that in the Wiki / Documentation...

Thank you in advance !

Edited by Ypermat on Thu, 02/16/2023 - 21:14
Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I guess I will not have my…
Sun, 03/05/2023 - 15:23

I guess I will not have my answer :(