net.minecraft.world.level.levelgen.flat

public class FlatLevelGeneratorSettings

emn
net.minecraft.world.level.levelgen.flat.FlatLevelGeneratorSettings
net.minecraft.class_3232
net.minecraft.world.gen.chunk.FlatChunkGeneratorConfig
net.minecraft.world.level.levelgen.flat.GeneratorSettingsFlat

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
b
LOGGER
field_14064
LOGGER
public static final com.mojang.serialization.Codec<FlatLevelGeneratorSettings>
a
CODEC
field_24975
CODEC
private final Optional<HolderSet<StructureSet>>
c
structureOverrides
field_37145
structureOverrides
private final List<FlatLayerInfo>
d
layersInfo
field_14072
layers
private final Holder<Biome>
e
biome
field_14081
biome
private final List<BlockState>
f
layers
field_14082
layerBlocks
private boolean
g
voidGen
field_14077
hasNoTerrain
private boolean
h
decoration
field_24976
hasFeatures
private boolean
i
addLakes
field_24977
hasLakes
private final List<Holder<PlacedFeature>>
j
lakes
field_40918
features

Constructor summary

ModifierConstructor
private (Optional<HolderSet<StructureSet>> structureOverrides, List<FlatLayerInfo> layers, boolean lakes, boolean features, Optional<Holder<Biome>> biome, Holder$Reference<Biome> fallback, Holder<PlacedFeature> undergroundLavaLakeFeature, Holder<PlacedFeature> surfaceLavaLakeFeature)
public (Optional<HolderSet<StructureSet>> structureOverrides, Holder<Biome> biome, List<Holder<PlacedFeature>> features)

Method summary

Modifier and TypeMethod
private static com.mojang.serialization.DataResult<FlatLevelGeneratorSettings>
a(emn arg0)
validateHeight(FlatLevelGeneratorSettings arg0)
method_33067(class_3232 arg0)
checkHeight(FlatChunkGeneratorConfig config)
private static Holder<Biome>
a(Optional<? extends jq<dik>> arg0, jq<dik> arg1)
getBiome(Optional<? extends Holder<Biome>> arg0, Holder<Biome> arg1)
method_46728(Optional<? extends class_6880<class_1959>> arg0, class_6880<class_1959> arg1)
getBiome(Optional<? extends RegistryEntry<Biome>> biome, RegistryEntry<Biome> fallback)
public FlatLevelGeneratorSettings
a(List<emk> arg0, Optional<ju<eoq>> arg1, jq<dik> arg2)
withBiomeAndLayers(List<FlatLayerInfo> arg0, Optional<HolderSet<StructureSet>> arg1, Holder<Biome> arg2)
method_46727(List<class_3229> arg0, Optional<class_6885<class_7059>> arg1, class_6880<class_1959> arg2)
with(List<FlatChunkGeneratorLayer> layers, Optional<RegistryEntryList<StructureSet>> structureOverrides, RegistryEntry<Biome> biome)
public void
a()
setDecoration()
method_28911()
enableFeatures()
public void
b()
setAddLakes()
method_28916()
enableLakes()
public BiomeGenerationSettings
a(jq<dik> arg0)
adjustGenerationSettings(Holder<Biome> arg0)
method_44225(class_6880<class_1959> arg0)
createGenerationSettings(RegistryEntry<Biome> biomeEntry)
public Optional<HolderSet<StructureSet>>
c()
structureOverrides()
method_41139()
getStructureOverrides()
public Holder<Biome>
d()
getBiome()
method_14326()
getBiome()
public List<FlatLayerInfo>
e()
getLayersInfo()
method_14327()
getLayers()
public List<BlockState>
f()
getLayers()
method_14312()
getLayerBlocks()
public void
g()
updateLayers()
method_14330()
updateLayerBlocks()
public static FlatLevelGeneratorSettings
a(jr<dik> arg0, jr<eoq> arg1, jr<eno> arg2)
getDefault(HolderGetter<Biome> arg0, HolderGetter<StructureSet> arg1, HolderGetter<PlacedFeature> arg2)
method_14309(class_7871<class_1959> arg0, class_7871<class_7059> arg1, class_7871<class_6796> arg2)
getDefaultConfig(RegistryEntryLookup<Biome> biomeLookup, RegistryEntryLookup<StructureSet> structureSetLookup, RegistryEntryLookup<PlacedFeature> featureLookup)
public static Holder<Biome>
a(jr<dik> arg0)
getDefaultBiome(HolderGetter<Biome> arg0)
method_46726(class_7871<class_1959> arg0)
getPlains(RegistryEntryLookup<Biome> biomeLookup)
public static List<Holder<PlacedFeature>>
b(jr<eno> arg0)
createLakesList(HolderGetter<PlacedFeature> arg0)
method_46729(class_7871<class_6796> arg0)
getLavaLakes(RegistryEntryLookup<PlacedFeature> featureLookup)