Class FlatLevelGeneratorSettings
java.lang.Object
net.minecraft.world.level.levelgen.flat.FlatLevelGeneratorSettings
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
static com.mojang.serialization.Codec<FlatLevelGeneratorSettings>
private boolean
private List<BlockState>
private List<FlatLayerInfo>
private static org.apache.logging.log4j.Logger
private static Map<StructureFeature<?>,ConfiguredStructureFeature<?,?>>
private StructureSettings
private boolean
-
Constructor Summary
ModifierConstructorDescriptionprivate
FlatLevelGeneratorSettings(Registry<Biome> p_70363_, StructureSettings p_70364_, List<FlatLayerInfo> p_70365_, boolean p_70366_, boolean p_70367_, Optional<Supplier<Biome>> p_70368_)
FlatLevelGeneratorSettings(StructureSettings p_70360_, Registry<Biome> p_70361_)
-
Method Summary
Modifier and TypeMethodDescriptiongetBiome()
static FlatLevelGeneratorSettings
getDefault(Registry<Biome> p_70377_)
void
void
void
void
private static com.mojang.serialization.DataResult<FlatLevelGeneratorSettings>
validateHeight(FlatLevelGeneratorSettings p_161906_)
withLayers(List<FlatLayerInfo> p_70381_, StructureSettings p_70382_)
withStructureSettings(StructureSettings p_70371_)
-
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
-
FlatLevelGeneratorSettings
private FlatLevelGeneratorSettings(Registry<Biome> p_70363_, StructureSettings p_70364_, List<FlatLayerInfo> p_70365_, boolean p_70366_, boolean p_70367_, Optional<Supplier<Biome>> p_70368_) -
FlatLevelGeneratorSettings
-
-
Method Details
-
validateHeight
private static com.mojang.serialization.DataResult<FlatLevelGeneratorSettings> validateHeight(FlatLevelGeneratorSettings p_161906_) -
withStructureSettings
-
withLayers
public FlatLevelGeneratorSettings withLayers(List<FlatLayerInfo> p_70381_, StructureSettings p_70382_) -
setDecoration
public void setDecoration() -
setAddLakes
public void setAddLakes() -
getBiomeFromSettings
-
structureSettings
-
getBiome
-
setBiome
-
getLayersInfo
-
getLayers
-
updateLayers
public void updateLayers() -
getDefault
-