net.minecraft.world.level.levelgen.flat

public class FlatLevelGeneratorSettings

djf
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.slf4j.Logger
b
LOGGER
field_14064
LOGGER
f_70348_
public static final com.mojang.serialization.Codec<FlatLevelGeneratorSettings>
a
CODEC
field_24975
CODEC
f_70347_
private final Registry<Biome>
c
biomes
field_26748
biomeRegistry
f_70350_
private final Optional<HolderSet<StructureSet>>
d
structureOverrides
field_37145
structureOverrides
f_209788_
private final List<FlatLayerInfo>
e
layersInfo
field_14072
layers
f_70352_
private Holder<Biome>
f
biome
field_14081
biome
f_70353_
private final List<BlockState>
g
layers
field_14082
layerBlocks
f_70354_
private boolean
h
voidGen
field_14077
hasNoTerrain
f_70355_
private boolean
i
decoration
field_24976
hasFeatures
f_70356_
private boolean
j
addLakes
field_24977
hasLakes
f_70357_

Constructor summary

ModifierConstructor
private (Registry<Biome> biomeRegistry, Optional<HolderSet<StructureSet>> structureOverrides, List<FlatLayerInfo> layers, boolean hasLakes, boolean hasFeatures, Optional<Holder<Biome>> biome)
public (Optional<HolderSet<StructureSet>> structureOverrides, Registry<Biome> biomeRegistry)

Method summary

Modifier and TypeMethod
private static com.mojang.serialization.DataResult<FlatLevelGeneratorSettings>
a(djf arg0)
validateHeight(FlatLevelGeneratorSettings arg0)
method_33067(class_3232 arg0)
checkHeight(FlatChunkGeneratorConfig config)
m_161905_(C_2431_ p_161906_)
public FlatLevelGeneratorSettings
a(List<djc> arg0, Optional<he<dlh>> arg1)
withLayers(List<FlatLayerInfo> arg0, Optional<HolderSet<StructureSet>> arg1)
method_29965(List<class_3229> arg0, Optional<class_6885<class_7059>> arg1)
withLayers(List<FlatChunkGeneratorLayer> layers, Optional<RegistryEntryList<StructureSet>> structureOverrides)
m_209803_(List<C_2430_> p_209805_, Optional<C_203233_<C_207023_>> arg1)
public void
a()
setDecoration()
method_28911()
enableFeatures()
m_70369_()
public void
b()
setAddLakes()
method_28916()
enableLakes()
m_70385_()
public BiomeGenerationSettings
a(hc<cht> arg0)
adjustGenerationSettings(Holder<Biome> arg0)
method_44225(class_6880<class_1959> arg0)
createGenerationSettings(RegistryEntry<Biome> biomeEntry)
m_226294_(C_203228_<C_1629_> arg0)
public Optional<HolderSet<StructureSet>>
c()
structureOverrides()
method_41139()
getStructureOverrides()
m_209810_()
public Holder<Biome>
d()
getBiome()
method_14326()
getBiome()
m_204921_()
public void
b(hc<cht> arg0)
setBiome(Holder<Biome> arg0)
method_14325(class_6880<class_1959> arg0)
setBiome(RegistryEntry<Biome> biome)
m_204918_(C_203228_<C_1629_> arg0)
public List<FlatLayerInfo>
e()
getLayersInfo()
method_14327()
getLayers()
m_70401_()
public List<BlockState>
f()
getLayers()
method_14312()
getLayerBlocks()
m_161917_()
public void
g()
updateLayers()
method_14330()
updateLayerBlocks()
m_70403_()
public static FlatLevelGeneratorSettings
a(hm<cht> arg0, hm<dlh> arg1)
getDefault(Registry<Biome> arg0, Registry<StructureSet> arg1)
method_14309(class_2378<class_1959> arg0, class_2378<class_7059> arg1)
getDefaultConfig(Registry<Biome> biomeRegistry, Registry<StructureSet> structureSetRegistry)
m_211734_(C_4705_<C_1629_> p_211735_, C_4705_<C_207023_> p_211736_)