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

So, I'm fairly new to Forge (I used it a little many months ago, but much of the little that I learned then has changed.) Due to the recent update, most of the tutorials aren't up to date. I'm fairly skilled in Java (I've been programming in Java for nearly 5 years now and got started with Java because of Minecraft.) I'm having some problems finding my way around Forge, because I'm unfamiliar with it, but I would like to create a new WorldType which will encompass an alternative of the a basic survival world. This alternative really only needs three (thus far, non-existent) biomes. I've created the new WorldType and have set it up to my liking, but the further I dig into the generation of the biomes, the more and more and more complex it gets. Is there not a simpler way to change which biomes are generated in my alternate dimension than to go and change every reference to them in all of the code?! For instance, in net.minecraft.world.gen.layer.GenLayer.java:

protected static boolean isBiomeOceanic(int p_151618_0_)
{
    return p_151618_0_ == BiomeGenBase.ocean.biomeID || p_151618_0_ == BiomeGenBase.deepOcean.biomeID ||
               p_151618_0_ == BiomeGenBase.frozenOcean.biomeID;
}

This is intermingled with the code used to actually generate the world. However, some of the biomes are hardcoded right in there! One of the biomes I need to make is indeed oceanic. Does this mean I will have to make a subclass of GenLayer.java simply to override this method to include mt biome?? In my personal opinion, that's somewhat ridiculous. If things like this can't be avoided, then I understand and will (maybe) just put up with them, but I simply would like to know if there is a simpler way to do what I'm wanting to do.

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.