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 Summary
Modifier and TypeMethodDescriptionamplitudes
(double... amplitudes) Sets the amplitudes.amplitudes
(List<Double> amplitudes) Sets the amplitudes.octave
(int octave) Sets the octave.Methods inherited from interface net.kyori.adventure.builder.AbstractBuilder
build
Methods inherited from interface org.spongepowered.api.util.CopyableBuilder
from
Methods inherited from interface org.spongepowered.api.util.DataPackEntryBuilder
fromDataPack, fromValue, pack
Methods inherited from interface org.spongepowered.api.util.ResourceKeyedBuilder
key
-
Method Details
-
octave
Sets the octave.- Parameters:
octave
- The octave.- Returns:
- This builder, for chaining
-
amplitudes
Sets the amplitudes.- Parameters:
amplitudes
- The amplitudes- Returns:
- This builder, for chaining
-
amplitudes
Sets the amplitudes.- Parameters:
amplitudes
- The amplitudes- Returns:
- This builder, for chaining
-