Add a user setting that controls map generation (a noise function)
Posted: Wed Aug 31, 2022 3:31 pm
I want to add a custom map generation with some extra noise functions. But the generation should depend on user input.
Lets make a very simple example: I want a map that is all water with a single square of land at the origin. The size of the island should be configurable by the user, say between 1 and 10 chunks.
Do I add this as a mod setting? Or is there some way to get a new parameter added to the map generator dialogs? And how do I then access the value of the setting in a noise function?
Lets make a very simple example: I want a map that is all water with a single square of land at the origin. The size of the island should be configurable by the user, say between 1 and 10 chunks.
Do I add this as a mod setting? Or is there some way to get a new parameter added to the map generator dialogs? And how do I then access the value of the setting in a noise function?