Interface Noise
- All Superinterfaces:
Wrapper
- All Known Subinterfaces:
NoiseGeneratorSettings, ReferencedNoise
Represents an abstract noise function.
- Since:
- 2.4.0
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic NoiseThe amplified noise function.builder()Creates a new noise generator settings builder.static Noisecaves()The caves noise function.static NoiseGeneratorSettingsReads a Minecraft noise-generator-settings holder or value.static Noiseend()The end noise function.static NoiseThe floating islands noise function.static NoiseThe large biomes noise function.static Noisenether()The nether noise function.static NoiseThe overworld noise function.static Noisereference(ResourceKey key) Creates a reference to a noise function with the given key.The key of the noise function.default NoiseGeneratorSettingswrap()Resolves this object's key in Minecraft's noise-settings registry and decodes the registered value.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Field Details
-
OVERWORLD
-
NETHER
-
END
-
FLOATING_ISLANDS
-
AMPLIFIED
-
CAVES
-
LARGE_BIOMES
-
-
Method Details
-
resourceKey
The key of the noise function.- Returns:
- the key of the noise function, if present
- Since:
- 2.4.0
-
builder
Creates a new noise generator settings builder.- Returns:
- a new noise generator settings builder
- Since:
- 2.4.0
-
reference
Creates a reference to a noise function with the given key.- Parameters:
key- the key of the noise function- Returns:
- a reference to the noise function with the given key
- Since:
- 2.4.0
-
wrap
Resolves this object's key in Minecraft's noise-settings registry and decodes the registered value.- Returns:
- the decoded noise-generator settings
- Throws:
IllegalStateException- if this object has no resource key- Since:
- 3.3.0
-
decode
Reads a Minecraft noise-generator-settings holder or value.- Parameters:
minecraftNoise- the holder or value to read- Returns:
- the decoded noise settings
- Since:
- 3.3.0
-
overworld
-
nether
-
end
-
floatingIslands
-
amplified
-
caves
-
largeBiomes
-