Class DualNoiseProvider.Builder
java.lang.Object
dev.wyck.worldgen.stateproviders.NoiseBasedProvider.AbstractNoiseProviderBuilder<DualNoiseProvider.Builder, DualNoiseProvider>
dev.wyck.worldgen.stateproviders.DualNoiseProvider.Builder
- Enclosing interface:
DualNoiseProvider
@AsOf("3.0.0")
public static final class DualNoiseProvider.Builder
extends NoiseBasedProvider.AbstractNoiseProviderBuilder<DualNoiseProvider.Builder, DualNoiseProvider>
Builder for
DualNoiseProvider.- Since:
- 3.0.0
-
Field Summary
Fields inherited from class NoiseBasedProvider.AbstractNoiseProviderBuilder
parameters, scale, seed -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DualNoiseProvidercreate()slowNoiseParameters(NoiseParameters slowNoiseParameters) Sets the parameters of the slow noise.slowScale(float slowScale) Sets the scale of the slow noise.Adds a block state to the list of optional block states.Adds a block state to the list of optional block states.Sets the list of optional block states.variety(InclusiveRange<Integer> variety) Sets the variety of the noise.Methods inherited from class NoiseBasedProvider.AbstractNoiseProviderBuilder
build, parameters, scale, seed
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
variety
Sets the variety of the noise.- Parameters:
variety- the variety of the noise- Returns:
- this builder
- Since:
- 3.0.0
-
slowNoiseParameters
@AsOf("3.0.0") public DualNoiseProvider.Builder slowNoiseParameters(NoiseParameters slowNoiseParameters) Sets the parameters of the slow noise.- Parameters:
slowNoiseParameters- the parameters of the slow noise- Returns:
- this builder
- Since:
- 3.0.0
-
slowScale
Sets the scale of the slow noise.- Parameters:
slowScale- the scale of the slow noise- Returns:
- this builder
- Since:
- 3.0.0
-
states
Sets the list of optional block states.- Parameters:
states- the list of block states- Returns:
- this builder
- Since:
- 3.0.0
-
state
Adds a block state to the list of optional block states.- Parameters:
state- the block state- Returns:
- this builder
- Since:
- 3.0.0
-
state
Adds a block state to the list of optional block states.- Parameters:
material- the material of the block state- Returns:
- this builder
- Since:
- 3.0.0
-
create
- Specified by:
createin classNoiseBasedProvider.AbstractNoiseProviderBuilder<DualNoiseProvider.Builder, DualNoiseProvider>
-