Class FlatLevelGeneratorSettings
java.lang.Object
net.minecraft.world.level.levelgen.flat.FlatLevelGeneratorSettings
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
static final com.mojang.serialization.Codec<FlatLevelGeneratorSettings>
private boolean
private final List<Holder<PlacedFeature>>
private final List<BlockState>
private final List<FlatLayerInfo>
private static final org.slf4j.Logger
private final Optional<HolderSet<StructureSet>>
private boolean
-
Constructor Summary
ModifierConstructorDescriptionprivate
FlatLevelGeneratorSettings
(Optional<HolderSet<StructureSet>> p_256456_, List<FlatLayerInfo> p_255826_, boolean p_255740_, boolean p_255726_, Optional<Holder<Biome>> p_256292_, Holder.Reference<Biome> p_255964_, Holder<PlacedFeature> p_256419_, Holder<PlacedFeature> p_255710_) FlatLevelGeneratorSettings
(Optional<HolderSet<StructureSet>> p_256029_, Holder<Biome> p_256190_, List<Holder<PlacedFeature>> p_255960_) -
Method Summary
Modifier and TypeMethodDescriptionadjustGenerationSettings
(Holder<Biome> p_226295_) static List<Holder<PlacedFeature>>
createLakesList
(HolderGetter<PlacedFeature> p_256282_) getBiome()
static FlatLevelGeneratorSettings
getDefault
(HolderGetter<Biome> p_256175_, HolderGetter<StructureSet> p_256081_, HolderGetter<PlacedFeature> p_256484_) getDefaultBiome
(HolderGetter<Biome> p_256645_) void
void
void
private static com.mojang.serialization.DataResult<FlatLevelGeneratorSettings>
validateHeight
(FlatLevelGeneratorSettings p_161906_) withBiomeAndLayers
(List<FlatLayerInfo> p_256587_, Optional<HolderSet<StructureSet>> p_256500_, Holder<Biome> p_256598_)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
CODEC
-
structureOverrides
-
layersInfo
-
biome
-
layers
-
voidGen
private boolean voidGen -
decoration
private boolean decoration -
addLakes
private boolean addLakes -
lakes
-
-
Constructor Details
-
FlatLevelGeneratorSettings
private FlatLevelGeneratorSettings(Optional<HolderSet<StructureSet>> p_256456_, List<FlatLayerInfo> p_255826_, boolean p_255740_, boolean p_255726_, Optional<Holder<Biome>> p_256292_, Holder.Reference<Biome> p_255964_, Holder<PlacedFeature> p_256419_, Holder<PlacedFeature> p_255710_) -
FlatLevelGeneratorSettings
public FlatLevelGeneratorSettings(Optional<HolderSet<StructureSet>> p_256029_, Holder<Biome> p_256190_, List<Holder<PlacedFeature>> p_255960_)
-
-
Method Details
-
validateHeight
private static com.mojang.serialization.DataResult<FlatLevelGeneratorSettings> validateHeight(FlatLevelGeneratorSettings p_161906_) -
getBiome
-
withBiomeAndLayers
public FlatLevelGeneratorSettings withBiomeAndLayers(List<FlatLayerInfo> p_256587_, Optional<HolderSet<StructureSet>> p_256500_, Holder<Biome> p_256598_) -
setDecoration
public void setDecoration() -
setAddLakes
public void setAddLakes() -
adjustGenerationSettings
-
structureOverrides
-
getBiome
-
getLayersInfo
-
getLayers
-
updateLayers
public void updateLayers() -
getDefault
public static FlatLevelGeneratorSettings getDefault(HolderGetter<Biome> p_256175_, HolderGetter<StructureSet> p_256081_, HolderGetter<PlacedFeature> p_256484_) -
getDefaultBiome
-
createLakesList
-