Interface Noise
- All Superinterfaces:
DataPackSerializable
,DefaultedRegistryValue
@CatalogedBy(Noises.class)
public interface Noise
extends DefaultedRegistryValue, DataPackSerializable
Noise used in world generation
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns the amplitudesstatic Noise.Builder
builder()
Creates a newNoise.Builder
to create aNoise
.int
octave()
Returns the first octaveMethods inherited from interface org.spongepowered.api.datapack.DataPackSerializable
toDataPack
Methods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValue
asDefaultedReference, findKey, key
-
Method Details
-
builder
Creates a newNoise.Builder
to create aNoise
.- Returns:
- The new builder
-
octave
int octave()Returns the first octave- Returns:
- The first octave
-
amplitudes
Returns the amplitudes- Returns:
- The amplitudes
-