Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hello all,

 

I am a noob modder. I've taken college classes in Java and C++, but it wasn't my major. (Went to school for art instead of CompSci.) I've googled tutorials, and so far done okay. I've got blocks, items, recipes and enchantments down. Yeah, those are easy.

 

My next goal was world-generation. I've done some reading and I've done some hacking. Here is what I want I want to do:

 

I want to generate a world that is all desert and wasteland. From what I know now, you cannot remove 'vanilla' biomes from world generation. So I have a few thoughts:

 

A) write my own world generation that would take existing biomes and rewrite them. That would create a lot of work for the computer, create a chunk, then re-write the chuck replacing blocks already generated by vanilla.

 

B) re-write all the world generation code to do what I want. Currently this is beyond my scope, but if that is the best way, I would still need advice in how to proceed.

 

C) use an existing Mod and distribute my mod with a Mod pack that requires the existing mod. For example, make my Mod require Biomes O' Plenty, and reference BoP code when generating a world tailored to my mod.

 

My currant inclination is to create a new dimension that is only desert and wasteland biomes and teleport new players into the the new dimension when they log in.

 

Any thoughts would be appreciated.

 

Direwolf

You don't need a new WorldProvider for doing that. You only need new WorldType for that.

You have to look into the WorldType class, which is involved in World Generation on default dimensions.

+ This is what BoP does. Also you can see the code of BoP.(In case that it is open source)

(Then your mod would not be compatible with BoP.)

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.