Jump to content
  • Home
  • Files
  • Docs
  • Merch
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • Custom cave/world generation.
1.13 Update Notes for Mod Creators
Sign in to follow this  
Followers 1
Cerandior

Custom cave/world generation.

By Cerandior, July 22 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

Cerandior    16

Cerandior

Cerandior    16

  • Diamond Finder
  • Cerandior
  • Members
  • 16
  • 299 posts
Posted July 22

I am working on a "fun" project, changing the game by adding things that in my opinion do not hinder the vanilla experience but make the game better. One thing about the game that I find kind of dull, are the caves. Is there any way to edit the way minecraft generates caves? I guess disabling the cave generation completely and creating a brand new one would work as well, but I do not posses the experience to do such a thing. Minor editing could do the trick. Also, while we are at it. Is there a way to disable an existing structure generation? For example, I want to disable the generation of dungeons and replace them with my own design. How do you generate structures in the world?

Thank you for your answers.

  • Quote

Share this post


Link to post
Share on other sites

Toma™    7

Toma™

Toma™    7

  • Stone Miner
  • Toma™
  • Members
  • 7
  • 74 posts
Posted July 23

You can create new world type and change it's chunk generator which does all the map gen stuff

  • Quote

Share this post


Link to post
Share on other sites

Cerandior    16

Cerandior

Cerandior    16

  • Diamond Finder
  • Cerandior
  • Members
  • 16
  • 299 posts
Posted July 23

By new world type, you mean as in "Amplified" or "Superflat"?
Is there no other way to do this so it works in any world-type the player chooses?

  • Quote

Share this post


Link to post
Share on other sites

Toma™    7

Toma™

Toma™    7

  • Stone Miner
  • Toma™
  • Members
  • 7
  • 74 posts
Posted July 23

Maybe it would be possible without world type, honestly I haven't really looked for it. In my opinion creating the world type is very simple

  • Quote

Share this post


Link to post
Share on other sites

Cerandior    16

Cerandior

Cerandior    16

  • Diamond Finder
  • Cerandior
  • Members
  • 16
  • 299 posts
Posted July 23 (edited)
1 hour ago, Toma™ said:

Maybe it would be possible without world type, honestly I haven't really looked for it. In my opinion creating the world type is very simple

It might be simple, I am not sure. I just don't think it is convenient for the player. It limits choice as for example he wouldn't be able to play with my mod if he wants to have biomes o plenty in it as well.

I was hoping there was some sort of event that it is fired when the world is generated. I didn't want any big changes in the system anyway. Minor editing like for example the frequency of the generation of caves would probably do the trick for what I want. If there is no other way, I might as well just leave it be.

Also, do you know how structure generation works in the newer versions of forge? I used to make a couple of mods a while back (when blockstates were introduced) and I think you could generate structures in the world using schematics back then. Not sure how you would do that now. Would you be able to link me to some forge docs or some existing project that explains what I want to do?

Thank you.

Edited July 23 by Cerandior
  • Quote

Share this post


Link to post
Share on other sites

Toma™    7

Toma™

Toma™    7

  • Stone Miner
  • Toma™
  • Members
  • 7
  • 74 posts
Posted July 24

For world gen there are some events, try to take look in the events package in forge. It might have what you need.

Also for the newer versions I guess you mean 1.13+, and in that case I have very little experience with that.

Also I was looking at some mods which improve world gen and they always used the world type approach. 

There are many more experienced modders, who might know more about this. So maybe you'll get more help from them.

  • Quote

Share this post


Link to post
Share on other sites

Cerandior    16

Cerandior

Cerandior    16

  • Diamond Finder
  • Cerandior
  • Members
  • 16
  • 299 posts
Posted July 24
4 hours ago, Toma™ said:

For world gen there are some events, try to take look in the events package in forge. It might have what you need.

Also for the newer versions I guess you mean 1.13+, and in that case I have very little experience with that.

Also I was looking at some mods which improve world gen and they always used the world type approach. 

There are many more experienced modders, who might know more about this. So maybe you'll get more help from them.

Okay, thank you for your time man, appreciate it. I will look into some other mods for examples too.

  • Quote

Share this post


Link to post
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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

  • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 1
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • DavidM
      attackEntityFrom() doesn't work. 1.12.2

      By DavidM · Posted 3 minutes ago

      No. You are still reaching across logical sides. Use packets.
    • Iceo
      1.12.2 Server Crash with Applied Energistics 2

      By Iceo · Posted 17 minutes ago

      Is there a way to fix this?
    • d0sboots
      "gradlew eclipse" in a clean forge 1.13.2 fails

      By d0sboots · Posted 24 minutes ago

      I tried gradlew build --refresh-dependencies, it doesn't change anything. Remember, this happens even if the .gradle directory is completely deleted.   It looks like this got broken with https://github.com/MinecraftForge/ForgeGradle/pull/617. It appears to already by fixed in https://github.com/MinecraftForge/ForgeGradle/pull/635, but that PR hasn't been merged yet.
    • Rixxaw
      Minecraft Core Issue/Forge Issue???

      By Rixxaw · Posted 35 minutes ago

      Download the Twitch App, and go to "Mods" then select a modpack from the list of packs there.  Assuming you are attempting to "Create" your own modpack.  There are thousands of modpacks already created and it is very likely you will find one with the mods you want.  If  Not, look for a Vanilla+ pack, and then unlock the profile, and add whatever mods you want.  The App will make sure they are of the right version and what not.  Thus you essentially create your own pack that way in a sense.
    • Iceo
      1.12.2 Server Crash with Applied Energistics 2

      By Iceo · Posted 35 minutes ago

      I dont know what you mean by OpenJDK don't you use that for developing mods?
  • Topics

    • AntonBespoiasov
      5
      attackEntityFrom() doesn't work. 1.12.2

      By AntonBespoiasov
      Started 23 hours ago

    • Iceo
      4
      1.12.2 Server Crash with Applied Energistics 2

      By Iceo
      Started 1 hour ago

    • d0sboots
      8
      "gradlew eclipse" in a clean forge 1.13.2 fails

      By d0sboots
      Started December 2

    • Aaronade
      2
      Minecraft Core Issue/Forge Issue???

      By Aaronade
      Started 4 hours ago

    • runescaper
      7
      Minecraft Forge Mods Won't Load for Me

      By runescaper
      Started 2 hours ago

  • Who's Online (See full list)

    • DavidM
    • imacatlolol
    • fuzzyweapon
    • kangeloDark
    • plugsmustard
    • Lordyammer
    • Iceo
    • DaemonUmbra
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • Custom cave/world generation.
  • Theme
  • Contact Us
  • Discord

Copyright © 2019 ForgeDevelopment LLC · Ads by Curse Powered by Invision Community