ChunkGenerator.ChunkData -> More options
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 12.7k
- Forks
- 3.5k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 11
Description
Is your feature request related to a problem?
Not a problem per se, just looking for more options.
Describe the solution you'd like.
I would like to see the addition of more data passed into ChunkData, such as BiomeParams.
I've recently been fiddling with custom world generation some more.
I noticed during the noise/surface generation stages there was no access to BiomeParamaterPoints.
Doing a small dig, I realized this data could be passed into ChunkData from RandomState.sampler() (within NMS/Craft CustomChunkGenerator)
I think this information could be handy when deciding on how one would want to generate their terrain.
For example, lets say I want Minecraft to handle biomes, but I want to build the terrain.
I could use the continentalness from the biome param points to help determine with some noise whether I want terrain to be ocean/land.
Describe alternatives you've considered.
Currently just using a lot of my own noise generation (via FastNoiseLite)
Other
I'd be willing to do a PR for this, but only if this is a feature that's wanted/approved.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at RandomState.sampler() within NMS/Craft CustomChunkGenerator and trace how data reaches ChunkData during noise and surface generation. Determine how BiomeParameterPoints such as continentalness could be exposed for custom terrain generation; done means the additional data is available to ChunkData for those stages.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100