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

I'd like to generate big structures that do not fit in one chunk in vanilla overworld. Knowing what lies further after border chunk is essential.

 

So is there a possibility to get height map, biome and sea level without generating chunk or atleast generating it partially? Maybe reading noise generator values.

 

Diving into javadocs for a few hours did not help me. https://yue.moe/ForgeJavaDocs/

Reading mc source code about village generation also was not fruitful.

World#getHeight and IWorldReader#getBiome can help you with that.

 

Here are also the six heightmap types and what they do:

MOTION_BLOCKING: The highest block that blocks motion or contains a fluid.

MOTION_BLOCKING_NO_LEAVES: The highest block that blocks motion or contains a fluid or is in the minecraft:leaves tag.

OCEAN_FLOOR: The highest non-air block, solid block.

OCEAN_FLOOR_WG: The highest block that is neither air nor contains a fluid, for worldgen.

WORLD_SURFACE: The highest non-air block.

WORLD_SURFACE_WG: The highest non-air block, for worldgen.

  • Author
Quote

Biome should be accessible without generating a chunk. world.getBiomeProvider() or anything.

 Sealevel is global based on the world.

 Heightmap I doubt is possible without hacking into mcs system. Which makes it not relyable because "Mods".

- Speiger, Chunk-Pregenerator mod dev.

 

Thank you, Ash.

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.