Interface NoiseTemplate.Builder

All Superinterfaces:
AbstractBuilder<NoiseTemplate>, Builder<NoiseTemplate,NoiseTemplate.Builder>, CopyableBuilder<NoiseTemplate,NoiseTemplate.Builder>, DataPackEntryBuilder<Noise,NoiseTemplate,NoiseTemplate.Builder>, ResettableBuilder<NoiseTemplate,NoiseTemplate.Builder>, ResourceKeyedBuilder<NoiseTemplate,NoiseTemplate.Builder>
Enclosing interface:
NoiseTemplate

public static interface NoiseTemplate.Builder extends DataPackEntryBuilder<Noise,NoiseTemplate,NoiseTemplate.Builder>
  • Method Details

    • octave

      NoiseTemplate.Builder octave(int octave)
      Sets the octave.
      Parameters:
      octave - The octave.
      Returns:
      This builder, for chaining
    • amplitudes

      NoiseTemplate.Builder amplitudes(double... amplitudes)
      Sets the amplitudes.
      Parameters:
      amplitudes - The amplitudes
      Returns:
      This builder, for chaining
    • amplitudes

      NoiseTemplate.Builder amplitudes(List<Double> amplitudes)
      Sets the amplitudes.
      Parameters:
      amplitudes - The amplitudes
      Returns:
      This builder, for chaining