Interface NoiseSettings
- All Superinterfaces:
Wrapper
The vertical bounds used by a noise-based chunk generator.
- Since:
- 2.4.0
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NoiseSettingsThe default noise bounds used by the caves preset.static final NoiseSettingsThe default noise bounds used by the End.static final NoiseSettingsThe default noise bounds used by the floating-islands preset.static final NoiseSettingsThe default noise bounds used by the Nether.static final NoiseSettingsThe default noise bounds used by the Overworld. -
Method Summary
Modifier and TypeMethodDescriptionstatic NoiseSettings.Builderbuilder()Creates a new noise settings builder.static NoiseSettingsReads Minecraft noise settings.intheight()The total vertical height generated by the noise generator.intminY()The minimum y-coordinate generated by the noise generator.static NoiseSettingsof(int minY, int height) Creates noise settings.default NoiseSettings.BuilderConverts these noise settings back to a builder.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Field Details
-
OVERWORLD
The default noise bounds used by the Overworld. -
NETHER
The default noise bounds used by the Nether. -
END
The default noise bounds used by the End. -
CAVES
The default noise bounds used by the caves preset. -
FLOATING_ISLANDS
The default noise bounds used by the floating-islands preset.
-
-
Method Details
-
minY
The minimum y-coordinate generated by the noise generator.- Returns:
- the minimum generation y-coordinate
- Since:
- 2.4.0
-
height
The total vertical height generated by the noise generator.- Returns:
- the generation height
- Since:
- 2.4.0
-
toBuilder
Converts these noise settings back to a builder.- Returns:
- a builder containing these settings
- Since:
- 4.0.0
-
of
Creates noise settings.- Parameters:
minY- the minimum generation y-coordinateheight- the total generation height, which must be a multiple of 16- Returns:
- new noise settings
- Since:
- 4.0.0
-
decode
Reads Minecraft noise settings.- Parameters:
minecraftSettings- the Minecraft noise settings to read- Returns:
- the decoded noise settings
- Since:
- 3.3.0
-
builder
Creates a new noise settings builder.- Returns:
- a new builder
- Since:
- 2.4.0
-