Interface BiomeGenerationSettings
- All Superinterfaces:
Wrapper
Represents the generation settings of a biome, including its configured carvers and placed features.
- Since:
- 2.3.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder for creating a BiomeGenerationSettings. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a new builder.carvers()The configured carvers applied to this biome's generation.static BiomeGenerationSettingsReads Minecraft biome generation settings into a wrapper.static BiomeGenerationSettingsempty()An empty generation settings carrying no carvers or features.features()The placed features applied to this biome's generation, grouped by step.static BiomeGenerationSettingsof(List<ConfiguredWorldCarver> carvers, Map<Decoration, List<PlacedFeature>> features) Creates a new biome generation settings.default BiomeGenerationSettings.BuilderConverts this object back to a builder.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
carvers
The configured carvers applied to this biome's generation.- Returns:
- an immutable list of carvers
- Since:
- 2.3.0
-
features
The placed features applied to this biome's generation, grouped by step.- Returns:
- an immutable map of the generation steps to placed features
- Since:
- 2.3.0
-
toBuilder
Converts this object back to a builder.- Returns:
- a builder with the same values as this object
- Since:
- 3.0.0
-
of
@AsOf("3.0.0") static BiomeGenerationSettings of(List<ConfiguredWorldCarver> carvers, Map<Decoration, List<PlacedFeature>> features) Creates a new biome generation settings.- Parameters:
carvers- the carvers of this biome's generationfeatures- the features of this biome's generation- Returns:
- a new biome generation settings
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 2.3.0
-
empty
An empty generation settings carrying no carvers or features.- Returns:
- an empty BiomeGenerationSettings
- Since:
- 2.3.0
-
decode
Reads Minecraft biome generation settings into a wrapper.- Parameters:
minecraftGenerationSettings- the generation settings to read- Returns:
- the wrapper for them
- Since:
- 3.3.0
-