caeruleusDraconis / world-preview

Apache License 2.0
22 stars 4 forks source link

Noise view and Noise Router info #35

Closed SettingDust closed 4 months ago

SettingDust commented 5 months ago

Feature Request

Helpful for data pack developing

caeruleusDraconis commented 5 months ago

Could you please provide a bit more information on what exactly you want? What is Noise view and Noise Router info? Do you have examples?

I am not familiar with data pack development. I just call a function with a block position, and it tells me the biome.

SettingDust commented 5 months ago

Noise router is the info in F3 that decide the terrain and biomes. https://minecraft.wiki/w/Noise_router 图片 https://minecraft.wiki/w/Debug_screen https://minecraft.wiki/w/World_generation#Biomes

Noise view is showing the noise value that can get the sampler from Chunk#getOrCreateChunkNoiseSampler The result should looks like https://misode.github.io/worldgen/noise/?version=1.21 and https://minecraft.wiki/w/File:Biome_and_density_functions.png 图片

EDIT: For reference, there is a gamerule in https://modrinth.com/mod/worldgen-devtools to generating noise only

caeruleusDraconis commented 5 months ago

So, if I understand you correctly, this would mean Adding the F3 noise router info to the hover info and adding new "heightmap" views for each noise function?

SettingDust commented 5 months ago

So, if I understand you correctly, this would mean Adding the F3 noise router info to the hover info and adding new "heightmap" views for each noise function?

More or less. Looks like NoiseRouter includes all the info needing to calc

caeruleusDraconis commented 4 months ago

This is now implemented in version 1.3.0

SettingDust commented 4 months ago

For anyone can't see the values. The tooltip is controlled by language. The english will show the values