Interface ComposedNoiseParameters
- All Superinterfaces:
Keyed, NoiseParameters, Registerable<ComposedNoiseParameters>, Wrapper
@NullMarked
@AsOf("3.0.0")
public interface ComposedNoiseParameters
extends NoiseParameters, Registerable<ComposedNoiseParameters>
Represents noise parameters that are composed of a first octave and a list of amplitudes.
- Since:
- 2.3.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder for NoiseParameters, which is a first octave plus amplitudes. -
Method Summary
Modifier and TypeMethodDescriptionThe amplitudes of the noise parameters.builder()Creates a new builder for NoiseParameters.intThe first octave of the noise parameters.static ComposedNoiseParametersof(int firstOctave, double... amplitudes) Creates a new NoiseParameters.static ComposedNoiseParametersCreates a new NoiseParameters.static ComposedNoiseParametersof(@Nullable ResourceKey resourceKey, int firstOctave, List<Double> amplitudes) Creates a new NoiseParameters.default ComposedNoiseParameters.BuilderConverts this object back to a builder.Methods inherited from interface NoiseParameters
resourceKey, wrapMethods inherited from interface Registerable
registerMethods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
firstOctave
The first octave of the noise parameters.- Returns:
- the first octave of the noise parameters
- Since:
- 2.3.0
-
amplitudes
-
toBuilder
Converts this object back to a builder.- Returns:
- a builder with the same values as this object
- Since:
- 2.3.0
-
of
@AsOf("3.0.0") static ComposedNoiseParameters of(@Nullable ResourceKey resourceKey, int firstOctave, List<Double> amplitudes) Creates a new NoiseParameters.- Parameters:
firstOctave- the first octave of the noise parametersamplitudes- the amplitudes of the noise parameters- Returns:
- a new NoiseParameters
- Since:
- 3.0.0
-
of
Creates a new NoiseParameters.- Parameters:
firstOctave- the first octave of the noise parametersamplitudes- the amplitudes of the noise parameters- Returns:
- a new NoiseParameters
- Since:
- 3.0.0
-
of
Creates a new NoiseParameters.- Parameters:
firstOctave- the first octave of the noise parametersamplitudes- the amplitudes of the noise parameters- Returns:
- a new NoiseParameters
- Since:
- 3.0.0
-
builder
Creates a new builder for NoiseParameters.- Returns:
- a new builder for NoiseParameters
- Since:
- 2.3.0
-