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
  • Method Details

    • firstOctave

      @AsOf("2.3.0") int firstOctave()
      The first octave of the noise parameters.
      Returns:
      the first octave of the noise parameters
      Since:
      2.3.0
    • amplitudes

      @AsOf("2.3.0") List<Double> amplitudes()
      The amplitudes of the noise parameters.
      Returns:
      the amplitudes of the noise parameters
      Since:
      2.3.0
    • toBuilder

      @AsOf("2.3.0") default ComposedNoiseParameters.Builder 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 parameters
      amplitudes - the amplitudes of the noise parameters
      Returns:
      a new NoiseParameters
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static ComposedNoiseParameters of(int firstOctave, List<Double> amplitudes)
      Creates a new NoiseParameters.
      Parameters:
      firstOctave - the first octave of the noise parameters
      amplitudes - the amplitudes of the noise parameters
      Returns:
      a new NoiseParameters
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static ComposedNoiseParameters of(int firstOctave, double... amplitudes)
      Creates a new NoiseParameters.
      Parameters:
      firstOctave - the first octave of the noise parameters
      amplitudes - the amplitudes of the noise parameters
      Returns:
      a new NoiseParameters
      Since:
      3.0.0
    • builder

      @AsOf("2.3.0") static ComposedNoiseParameters.Builder builder()
      Creates a new builder for NoiseParameters.
      Returns:
      a new builder for NoiseParameters
      Since:
      2.3.0