Posted April 22, 20205 yr 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.
April 23, 20205 yr 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.
April 23, 20205 yr 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.