Package net.minecraft.world.biome
Class GenerationSettings
java.lang.Object
net.minecraft.world.biome.GenerationSettings
public class GenerationSettings extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GenerationSettings.Builder
-
Field Summary
Fields Modifier and Type Field Description private Map<GenerationStep.Carver,List<Supplier<ConfiguredCarver<?>>>>
carvers
static com.mojang.serialization.MapCodec<GenerationSettings>
CODEC
private List<List<Supplier<ConfiguredFeature<?,?>>>>
features
private List<ConfiguredFeature<?,?>>
flowerFeatures
static GenerationSettings
INSTANCE
static Logger
LOGGER
private List<Supplier<ConfiguredStructureFeature<?,?>>>
structureFeatures
private Supplier<ConfiguredSurfaceBuilder<?>>
surfaceBuilder
-
Constructor Summary
Constructors Modifier Constructor Description private
GenerationSettings(Supplier<ConfiguredSurfaceBuilder<?>> surfaceBuilder, Map<GenerationStep.Carver,List<Supplier<ConfiguredCarver<?>>>> carvers, List<List<Supplier<ConfiguredFeature<?,?>>>> features, List<Supplier<ConfiguredStructureFeature<?,?>>> structureFeatures)
-
Method Summary
Modifier and Type Method Description List<Supplier<ConfiguredCarver<?>>>
getCarversForStep(GenerationStep.Carver carverStep)
List<List<Supplier<ConfiguredFeature<?,?>>>>
getFeatures()
Returns the lists of features configured for eachfeature generation step
, up to the highest step that has a configured feature.List<ConfiguredFeature<?,?>>
getFlowerFeatures()
Collection<Supplier<ConfiguredStructureFeature<?,?>>>
getStructureFeatures()
Supplier<ConfiguredSurfaceBuilder<?>>
getSurfaceBuilder()
SurfaceConfig
getSurfaceConfig()
boolean
hasStructureFeature(StructureFeature<?> structureFeature)
ConfiguredStructureFeature<?,?>
method_30978(ConfiguredStructureFeature<?,?> configuredStructureFeature)
-
Field Details
-
LOGGER
-
INSTANCE
-
CODEC
-
surfaceBuilder
-
carvers
-
features
-
structureFeatures
-
flowerFeatures
-
-
Constructor Details
-
GenerationSettings
private GenerationSettings(Supplier<ConfiguredSurfaceBuilder<?>> surfaceBuilder, Map<GenerationStep.Carver,List<Supplier<ConfiguredCarver<?>>>> carvers, List<List<Supplier<ConfiguredFeature<?,?>>>> features, List<Supplier<ConfiguredStructureFeature<?,?>>> structureFeatures)
-
-
Method Details
-
getCarversForStep
-
hasStructureFeature
-
getStructureFeatures
-
method_30978
public ConfiguredStructureFeature<?,?> method_30978(ConfiguredStructureFeature<?,?> configuredStructureFeature) -
getFlowerFeatures
-
getFeatures
Returns the lists of features configured for eachfeature generation step
, up to the highest step that has a configured feature. Entries are guaranteed to not be null, but may be empty lists if an earlier step has no features, but a later step does. -
getSurfaceBuilder
-
getSurfaceConfig
-