Class NoiseParameters.Builder
java.lang.Object
dev.wyck.wrapper.worldgen.stateproviders.NoiseParameters.Builder
- Enclosing interface:
NoiseParameters
-
Method Summary
Modifier and TypeMethodDescriptionamplitude(double amplitude) Adds amplitude to the noise parameters.amplitudes(double... amplitudes) Sets the amplitudes of the noise parameters.amplitudes(Collection<Double> amplitudes) Sets the amplitudes of the noise parameters.build()Builds the NoiseParameters.firstOctave(int firstOctave) Sets the first octave of the noise parameters.
-
Method Details
-
firstOctave
Sets the first octave of the noise parameters.- Parameters:
firstOctave- the first octave of the noise parameters- Returns:
- this builder, for chaining
- Since:
- 2.3.0
-
amplitude
Adds amplitude to the noise parameters.- Parameters:
amplitude- the amplitude to add- Returns:
- this builder, for chaining
- Since:
- 2.3.0
-
amplitudes
Sets the amplitudes of the noise parameters.- Parameters:
amplitudes- the amplitudes of the noise parameters- Returns:
- this builder, for chaining
- Since:
- 2.3.0
-
amplitudes
Sets the amplitudes of the noise parameters.- Parameters:
amplitudes- the amplitudes of the noise parameters- Returns:
- this builder, for chaining
- Since:
- 2.3.0
-
build
Builds the NoiseParameters.- Returns:
- the NoiseParameters
- Since:
- 2.3.0
-