Hello all,
I would like to know if it's possible to make an ore generate ABOVE a certain height. If someone could tell me how to make an ore generate at 72 and up that would be awesome.
Open up WorldGenMineable (if that's the generator you're using. I would recommend making a duplicate of this to avoid conflicts). Towards the bottom, there's world.setBlock. l2 is the altitude of the block. You can set an if statement that is l2>yourlevel before that.
Happy modding!
Rollback Post to RevisionRollBack
Has nice day!
Please no PMing, and no, I'm not a moderator.
Open up WorldGenMineable (if that's the generator you're using. I would recommend making a duplicate of this to avoid conflicts). Towards the bottom, there's world.setBlock. l2 is the altitude of the block. You can set an if statement that is l2>yourlevel before that.
Happy modding!
Awesome, thanks for this!
EDIT: Can you provide an example? I can't seem to figure this out.
I would like to know if it's possible to make an ore generate ABOVE a certain height. If someone could tell me how to make an ore generate at 72 and up that would be awesome.
Thanks,
Chewy
Happy modding!
Please no PMing, and no, I'm not a moderator.
Awesome, thanks for this!
EDIT: Can you provide an example? I can't seem to figure this out.
Your height must be above 0, I believe (and under 127? Dunno. Whatever the map limits are). Happy modding!
Please no PMing, and no, I'm not a moderator.
Okay, I did something similar earlier and it worked. Thanks for your help!