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.

Osssie

Members
  • Joined

  • Last visited

  1. Osssie joined the community
  2. So im making a custom world type where only islands generate basically, and the way I did this is by making as custom GenLayerBiome class and every biome that is WARM, ICY, COOL or a DESERT (Already empty but whatever) and replace it with my biomes and it works for the most part but the issue im facing is certain biomes such as jungle, red taiga, etc are their own type and I can't figure out how to change those biomes Here's a snippet of the code i'm using int idx = BiomeType.DESERT.ordinal(); biomes[idx].add(new BiomeEntry(BiomeInit.MODISLAND, 1)); biomes[idx].add(new BiomeEntry(Biomes.OCEAN, 30)); idx = BiomeType.WARM.ordinal(); biomes[idx].clear(); biomes[idx].add(new BiomeEntry(BiomeInit.MODISLAND, 1)); biomes[idx].add(new BiomeEntry(Biomes.OCEAN, 30)); idx = BiomeType.COOL.ordinal(); biomes[idx].clear(); biomes[idx].add(new BiomeEntry(BiomeInit.MODISLAND, 1)); biomes[idx].add(new BiomeEntry(Biomes.OCEAN, 30)); idx = BiomeType.ICY.ordinal(); biomes[idx].clear(); biomes[idx].add(new BiomeEntry(BiomeInit.MODISLAND, 1)); biomes[idx].add(new BiomeEntry(Biomes.OCEAN, 30)); if (p_i45560_4_ == WorldType.DEFAULT_1_1) { biomes[idx].add(new BiomeEntry(BiomeInit.MODISLAND, 1)); biomes[idx].add(new BiomeEntry(Biomes.OCEAN, 30)); idx = BiomeType.WARM.ordinal(); biomes[idx].clear(); biomes[idx].add(new BiomeEntry(BiomeInit.MODISLAND, 1)); biomes[idx].add(new BiomeEntry(Biomes.OCEAN, 30)); idx = BiomeType.COOL.ordinal(); biomes[idx].clear(); biomes[idx].add(new BiomeEntry(BiomeInit.MODISLAND, 1)); biomes[idx].add(new BiomeEntry(Biomes.OCEAN, 30)); idx = BiomeType.ICY.ordinal(); biomes[idx].clear(); biomes[idx].add(new BiomeEntry(BiomeInit.MODISLAND, 1)); biomes[idx].add(new BiomeEntry(Biomes.OCEAN, 30)); this.settings = null; } Again the issue with this is that jungle and red taiga biome's (and more) are not in any of these types So, I Tried to make the idx variable a jungle biome like so idx = Biomes.JUNGLE; But idx is an int so it didn't work So I made a new value that's a biome and tried using that Biome biome; biome = Biomes.JUNGLE; biomes[biome].clear(); biomes[biome].add(new BiomeEntry(BiomeInit.MODISLAND, 1)); biomes[biome].add(new BiomeEntry(Biomes.OCEAN, 30)); but that didn't work either as it told me to turn it back to an int So i'm a bit lost, is there anyway to do this? Any help is greatly appreciated!

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.