Package net.minecraft.world.biome
Class BiomeGenerationSettings
- java.lang.Object
-
- net.minecraft.world.biome.BiomeGenerationSettings
-
public class BiomeGenerationSettings extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BiomeGenerationSettings.Builder
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<GenerationStage.Carving,java.util.List<java.util.function.Supplier<ConfiguredCarver<?>>>>
carvers
private java.util.Set<GenerationStage.Carving>
carversView
static com.mojang.serialization.MapCodec<BiomeGenerationSettings>
CODEC
static BiomeGenerationSettings
EMPTY
private java.util.List<java.util.List<java.util.function.Supplier<ConfiguredFeature<?,?>>>>
features
private java.util.List<ConfiguredFeature<?,?>>
flowerFeatures
static org.apache.logging.log4j.Logger
LOGGER
private java.util.List<java.util.function.Supplier<StructureFeature<?,?>>>
structureStarts
private java.util.function.Supplier<ConfiguredSurfaceBuilder<?>>
surfaceBuilder
-
Constructor Summary
Constructors Modifier Constructor Description private
BiomeGenerationSettings(java.util.function.Supplier<ConfiguredSurfaceBuilder<?>> p_i241935_1_, java.util.Map<GenerationStage.Carving,java.util.List<java.util.function.Supplier<ConfiguredCarver<?>>>> p_i241935_2_, java.util.List<java.util.List<java.util.function.Supplier<ConfiguredFeature<?,?>>>> p_i241935_3_, java.util.List<java.util.function.Supplier<StructureFeature<?,?>>> p_i241935_4_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.util.List<java.util.function.Supplier<ConfiguredFeature<?,?>>>>
features()
java.util.List<java.util.function.Supplier<ConfiguredCarver<?>>>
getCarvers(GenerationStage.Carving p_242489_1_)
java.util.Set<GenerationStage.Carving>
getCarvingStages()
java.util.List<ConfiguredFeature<?,?>>
getFlowerFeatures()
java.util.function.Supplier<ConfiguredSurfaceBuilder<?>>
getSurfaceBuilder()
ISurfaceBuilderConfig
getSurfaceBuilderConfig()
boolean
isValidStart(Structure<?> p_242493_1_)
java.util.Collection<java.util.function.Supplier<StructureFeature<?,?>>>
structures()
StructureFeature<?,?>
withBiomeConfig(StructureFeature<?,?> p_242491_1_)
-
-
-
Field Detail
-
LOGGER
public static final org.apache.logging.log4j.Logger LOGGER
-
EMPTY
public static final BiomeGenerationSettings EMPTY
-
CODEC
public static final com.mojang.serialization.MapCodec<BiomeGenerationSettings> CODEC
-
surfaceBuilder
private final java.util.function.Supplier<ConfiguredSurfaceBuilder<?>> surfaceBuilder
-
carvers
private final java.util.Map<GenerationStage.Carving,java.util.List<java.util.function.Supplier<ConfiguredCarver<?>>>> carvers
-
carversView
private final java.util.Set<GenerationStage.Carving> carversView
-
features
private final java.util.List<java.util.List<java.util.function.Supplier<ConfiguredFeature<?,?>>>> features
-
structureStarts
private final java.util.List<java.util.function.Supplier<StructureFeature<?,?>>> structureStarts
-
flowerFeatures
private final java.util.List<ConfiguredFeature<?,?>> flowerFeatures
-
-
Constructor Detail
-
BiomeGenerationSettings
private BiomeGenerationSettings(java.util.function.Supplier<ConfiguredSurfaceBuilder<?>> p_i241935_1_, java.util.Map<GenerationStage.Carving,java.util.List<java.util.function.Supplier<ConfiguredCarver<?>>>> p_i241935_2_, java.util.List<java.util.List<java.util.function.Supplier<ConfiguredFeature<?,?>>>> p_i241935_3_, java.util.List<java.util.function.Supplier<StructureFeature<?,?>>> p_i241935_4_)
-
-
Method Detail
-
getCarvers
public java.util.List<java.util.function.Supplier<ConfiguredCarver<?>>> getCarvers(GenerationStage.Carving p_242489_1_)
-
getCarvingStages
public java.util.Set<GenerationStage.Carving> getCarvingStages()
-
isValidStart
public boolean isValidStart(Structure<?> p_242493_1_)
-
structures
public java.util.Collection<java.util.function.Supplier<StructureFeature<?,?>>> structures()
-
withBiomeConfig
public StructureFeature<?,?> withBiomeConfig(StructureFeature<?,?> p_242491_1_)
-
getFlowerFeatures
public java.util.List<ConfiguredFeature<?,?>> getFlowerFeatures()
-
features
public java.util.List<java.util.List<java.util.function.Supplier<ConfiguredFeature<?,?>>>> features()
-
getSurfaceBuilder
public java.util.function.Supplier<ConfiguredSurfaceBuilder<?>> getSurfaceBuilder()
-
getSurfaceBuilderConfig
public ISurfaceBuilderConfig getSurfaceBuilderConfig()
-
-