Package net.minecraft.world.biome
Class BiomeGenerationSettings.Builder
- java.lang.Object
-
- net.minecraft.world.biome.BiomeGenerationSettings.Builder
-
- Direct Known Subclasses:
BiomeGenerationSettingsBuilder
- Enclosing class:
- BiomeGenerationSettings
public static class BiomeGenerationSettings.Builder extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<GenerationStage.Carving,java.util.List<java.util.function.Supplier<ConfiguredCarver<?>>>>
carvers
protected java.util.List<java.util.List<java.util.function.Supplier<ConfiguredFeature<?,?>>>>
features
protected java.util.List<java.util.function.Supplier<StructureFeature<?,?>>>
structureStarts
protected java.util.Optional<java.util.function.Supplier<ConfiguredSurfaceBuilder<?>>>
surfaceBuilder
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <C extends ICarverConfig>
BiomeGenerationSettings.BuilderaddCarver(GenerationStage.Carving p_242512_1_, ConfiguredCarver<C> p_242512_2_)
BiomeGenerationSettings.Builder
addFeature(int p_242510_1_, java.util.function.Supplier<ConfiguredFeature<?,?>> p_242510_2_)
BiomeGenerationSettings.Builder
addFeature(GenerationStage.Decoration p_242513_1_, ConfiguredFeature<?,?> p_242513_2_)
protected void
addFeatureStepsUpTo(int p_242509_1_)
BiomeGenerationSettings.Builder
addStructureStart(StructureFeature<?,?> p_242516_1_)
BiomeGenerationSettings
build()
BiomeGenerationSettings.Builder
surfaceBuilder(java.util.function.Supplier<ConfiguredSurfaceBuilder<?>> p_242519_1_)
BiomeGenerationSettings.Builder
surfaceBuilder(ConfiguredSurfaceBuilder<?> p_242517_1_)
-
-
-
Field Detail
-
surfaceBuilder
protected java.util.Optional<java.util.function.Supplier<ConfiguredSurfaceBuilder<?>>> surfaceBuilder
-
carvers
protected final java.util.Map<GenerationStage.Carving,java.util.List<java.util.function.Supplier<ConfiguredCarver<?>>>> carvers
-
features
protected final java.util.List<java.util.List<java.util.function.Supplier<ConfiguredFeature<?,?>>>> features
-
structureStarts
protected final java.util.List<java.util.function.Supplier<StructureFeature<?,?>>> structureStarts
-
-
Method Detail
-
surfaceBuilder
public BiomeGenerationSettings.Builder surfaceBuilder(ConfiguredSurfaceBuilder<?> p_242517_1_)
-
surfaceBuilder
public BiomeGenerationSettings.Builder surfaceBuilder(java.util.function.Supplier<ConfiguredSurfaceBuilder<?>> p_242519_1_)
-
addFeature
public BiomeGenerationSettings.Builder addFeature(GenerationStage.Decoration p_242513_1_, ConfiguredFeature<?,?> p_242513_2_)
-
addFeature
public BiomeGenerationSettings.Builder addFeature(int p_242510_1_, java.util.function.Supplier<ConfiguredFeature<?,?>> p_242510_2_)
-
addCarver
public <C extends ICarverConfig> BiomeGenerationSettings.Builder addCarver(GenerationStage.Carving p_242512_1_, ConfiguredCarver<C> p_242512_2_)
-
addStructureStart
public BiomeGenerationSettings.Builder addStructureStart(StructureFeature<?,?> p_242516_1_)
-
addFeatureStepsUpTo
protected void addFeatureStepsUpTo(int p_242509_1_)
-
build
public BiomeGenerationSettings build()
-
-