Jump to content

[1.7.2] Underground Water Source Blocks


acid1103

Recommended Posts

In the mod that I'm making, I don't want any above-ground water. So, I went through the painful process of making new subclasses of every class that generates water and replaced it all. (I didn't replace it all at once. It was only after I went through several times replacing what I thought was causing the water that I eventually replaced all of them finally the above-ground water is gone.) However, I still want those single underground water source blocks. I don't want underground lakes, just those singular source blocks you find in caves. (Also, I don't mind if they generate on the surface making waterfalls. I just don't want bodies of water on the surface.) I was wondering if anyone knew where in the source code these underground water blocks are? I've looked and looked, changing some of them back to water, but to no avail. If anyone knows where these are located, it would be greatly appreciated.

Link to comment
Share on other sites

You could just make your own by adding worldgen code that picks random spots during worldgen and puts a water source there if there's an air block on one side and stone/any other block on the others. I think there are quite a few tutorials for doing things like this, and it would seem you already have some experience with worldgen, so it shouldn't be hard :)

Creator of Metroid Cubed! Power Suits, Beams, Hypermode and more!

width=174 height=100http://i.imgur.com/ghgWmA3.jpg[/img]

Link to comment
Share on other sites

Yeah, after 3 hours of no replies, that's what I ended up doing. Which is a bit unfortunate because now my code iterates through one forth of every chunk during generation, making generation that much slower..  :-\ Ah well, it works the way I want it to, and I have more control over it this way.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.