Package net.minecraft.world.gen
Class FlatGenerationSettings
java.lang.Object
net.minecraft.world.gen.FlatGenerationSettings
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
static final com.mojang.serialization.Codec<FlatGenerationSettings>
private boolean
private final BlockState[]
private final List<FlatLayerInfo>
private static final org.apache.logging.log4j.Logger
private static final Map<Structure<?>,
StructureFeature<?, ?>> private final DimensionStructuresSettings
private boolean
-
Constructor Summary
ConstructorDescriptionFlatGenerationSettings
(Registry<Biome> p_i242012_1_, DimensionStructuresSettings p_i242012_2_, List<FlatLayerInfo> p_i242012_3_, boolean p_i242012_4_, boolean p_i242012_5_, Optional<Supplier<Biome>> p_i242012_6_) FlatGenerationSettings
(DimensionStructuresSettings p_i242011_1_, Registry<Biome> p_i242011_2_) -
Method Summary
Modifier and TypeMethodDescriptiongetBiome()
static FlatGenerationSettings
getDefault
(Registry<Biome> p_242869_0_) void
void
void
void
withLayers
(List<FlatLayerInfo> p_241527_1_, DimensionStructuresSettings p_241527_2_) withStructureSettings
(DimensionStructuresSettings p_236937_1_)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
CODEC
-
STRUCTURE_FEATURES
-
biomes
-
structureSettings
-
layersInfo
-
biome
-
layers
-
voidGen
private boolean voidGen -
decoration
private boolean decoration -
addLakes
private boolean addLakes
-
-
Constructor Details
-
FlatGenerationSettings
public FlatGenerationSettings(Registry<Biome> p_i242012_1_, DimensionStructuresSettings p_i242012_2_, List<FlatLayerInfo> p_i242012_3_, boolean p_i242012_4_, boolean p_i242012_5_, Optional<Supplier<Biome>> p_i242012_6_) -
FlatGenerationSettings
public FlatGenerationSettings(DimensionStructuresSettings p_i242011_1_, Registry<Biome> p_i242011_2_)
-
-
Method Details
-
withStructureSettings
-
withLayers
public FlatGenerationSettings withLayers(List<FlatLayerInfo> p_241527_1_, DimensionStructuresSettings p_241527_2_) -
setDecoration
public void setDecoration() -
setAddLakes
public void setAddLakes() -
getBiomeFromSettings
-
structureSettings
-
getBiome
-
setBiome
-
getLayersInfo
-
getLayers
-
updateLayers
public void updateLayers() -
getDefault
-