Jump to content

Override world-type? Remove biomes? Default to custom dimension?


mythics

Recommended Posts

Hello,

 

I'm just getting started with modding and have followed a handful of tutorials to get the absolute basics down regarding adding blocks, recipes, etc.

 

I would like to learn more about map generation. Searching for world generation leads me to many tutorials on adding ore or specific blocks to the world by overwriting what gets generated naturally. I'm wanting to create a mod to replace the entire generation process. Ideally, I'd start with something like the superflat world type (except with a mod, so no matter which type you choose it'd default to MY generation algorithm(s)).

 

I've considered trying to override the player selected world type and simply force a custom world type, but there would still be aspects I'd not want like being able to build a portal to the nether if you had the materials to do so. That's assuming overriding the world type is even possible (not found much evidence that it is).

 

My next thought was to remove all biomes except a custom one. While searching for how to do this gives a lot of results, I've found no documentation that functions within 1.8 (which I'd prefer to work with if at all possible).

 

I even considered implementing a complete custom dimension just to achieve a "blank slate", but even that doesn't sound quite appropriate since I want the player to start there (I guess the trigger to enter the dimension could be anything though, right? Such as being spawned into the world?)

 

So, any suggestions? As I'm only just getting started, perhaps I should start with a much older version that might actually have some documentation out there? Even for old versions, I'm not really finding any macro level "this is how this stuff works" kind of tutorials. Most of what I find are VERY specific examples of how to do VERY specific tasks or hint-like tutorials saying things like "just override this method, register it, and you're good to go" without any details of method names, let alone parameters. I'm not looking for full blown code or an open source mod that already does what I want.. but more of a tutorial or series that explains the system rather than specific possible tasks. Perhaps I'm too much of a minority in that I don't just want to add a new tool or mob, but rather change the way the world generates?

Link to comment
Share on other sites

no matter which type you choose it'd default to MY generation algorithm(s)

 

That's really not a good idea.  Adding additional types (like ATG does) is fine, forcibly overwriting is not cool.  The user would select "ATG" and get yours.  They'd select "Flat" and get yours again.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

no matter which type you choose it'd default to MY generation algorithm(s)

 

That's really not a good idea.  Adding additional types (like ATG does) is fine, forcibly overwriting is not cool.  The user would select "ATG" and get yours.  They'd select "Flat" and get yours again.

 

Understood. What I hope to accomplish would be more like a game mode than a world type anyhow. I'd simply want to add my own world type as the only option when my custom mode was selected (and limit other world options). Some of these names/terms are rather ambiguous and searching doesn't yield as much information as I'd hope for this level of overhaul or I'm just not searching with the right terms.

 

Edit: It didn't take much searching to see "Game Mode" is really just rules for the player. Is world type really what I'm wanting, the ability to let a player choose a generation style I design with custom rules (no dimension travel) that only apply when using said world type?

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.