net.minecraft.world.level.levelgen.flat

public class FlatLevelGeneratorSettings

cyw
net.minecraft.world.level.levelgen.flat.FlatLevelGeneratorSettings
net.minecraft.class_3232
net.minecraft.world.gen.chunk.FlatChunkGeneratorConfig
net.minecraft.src.C_2431_
net.minecraft.world.level.levelgen.flat.GeneratorSettingsFlat

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
b
LOGGER
field_14064
LOGGER
f_70348_
public static final com.mojang.serialization.Codec<FlatLevelGeneratorSettings>
a
CODEC
field_24975
CODEC
f_70347_
private static final Map<StructureFeature<?>, ConfiguredStructureFeature<?, ?>>
c
STRUCTURE_FEATURES
field_14073
STRUCTURE_TO_FEATURES
f_70349_
private final Registry<Biome>
d
biomes
field_26748
biomeRegistry
f_70350_
private final StructureSettings
e
structureSettings
field_24560
structuresConfig
f_70351_
private final List<FlatLayerInfo>
f
layersInfo
field_14072
layers
f_70352_
private Supplier<Biome>
g
biome
field_14081
biome
f_70353_
private final List<BlockState>
h
layers
field_14082
layerBlocks
f_70354_
private boolean
i
voidGen
field_14077
hasNoTerrain
f_70355_
private boolean
j
decoration
field_24976
hasFeatures
f_70356_
private boolean
k
addLakes
field_24977
hasLakes
f_70357_

Constructor summary

ModifierConstructor
private (Registry<Biome> biomeRegistry, StructureSettings structuresConfig, List<FlatLayerInfo> layers, boolean hasLakes, boolean hasFeatures, Optional<Supplier<Biome>> biome)
public (StructureSettings structuresConfig, Registry<Biome> biomeRegistry)

Method summary

Modifier and TypeMethod
private static com.mojang.serialization.DataResult<FlatLevelGeneratorSettings>
a(cyw arg0)
validateHeight(FlatLevelGeneratorSettings arg0)
method_33067(class_3232 arg0)
checkHeight(FlatChunkGeneratorConfig config)
m_161905_(C_2431_ p_161906_)
public FlatLevelGeneratorSettings
a(cqi arg0)
withStructureSettings(StructureSettings arg0)
method_28912(class_5311 arg0)
withStructuresConfig(StructuresConfig structuresConfig)
m_70370_(C_2200_ arg0)
public FlatLevelGeneratorSettings
a(List<cyv> arg0, cqi arg1)
withLayers(List<FlatLayerInfo> arg0, StructureSettings arg1)
method_29965(List<class_3229> arg0, class_5311 arg1)
withLayers(List<FlatChunkGeneratorLayer> layers, StructuresConfig structuresConfig)
m_70380_(List<C_2430_> p_70382_, C_2200_ arg1)
public void
a()
setDecoration()
method_28911()
enableFeatures()
m_70369_()
public void
b()
setAddLakes()
method_28916()
enableLakes()
m_70385_()
public Biome
c()
getBiomeFromSettings()
method_28917()
createBiome()
m_70390_()
public StructureSettings
d()
structureSettings()
method_28051()
getStructuresConfig()
m_70395_()
public Biome
e()
getBiome()
method_14326()
getBiome()
m_70400_()
public void
a(Supplier<bxo> arg0)
setBiome(Supplier<Biome> arg0)
method_14325(Supplier<class_1959> arg0)
setBiome(Supplier<Biome> biome)
m_70383_(Supplier<C_1629_> arg0)
public List<FlatLayerInfo>
f()
getLayersInfo()
method_14327()
getLayers()
m_70401_()
public List<BlockState>
g()
getLayers()
method_14312()
getLayerBlocks()
m_161917_()
public void
h()
updateLayers()
method_14330()
updateLayerBlocks()
m_70403_()
public static FlatLevelGeneratorSettings
a(gw<bxo> arg0)
getDefault(Registry<Biome> arg0)
method_14309(class_2378<class_1959> arg0)
getDefaultConfig(Registry<Biome> biomeRegistry)
m_70376_(C_4705_<C_1629_> p_70377_)