net.minecraft.world.level.levelgen.flat

public class FlatLevelGeneratorSettings

dqd
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 Optional<HolderSet<StructureSet>>
c
structureOverrides
field_37145
structureOverrides
f_209788_
private final List<FlatLayerInfo>
d
layersInfo
field_14072
layers
f_70352_
private final Holder<Biome>
e
biome
field_14081
biome
f_70353_
private final List<BlockState>
f
layers
field_14082
layerBlocks
f_70354_
private boolean
g
voidGen
field_14077
hasNoTerrain
f_70355_
private boolean
h
decoration
field_24976
hasFeatures
f_70356_
private boolean
i
addLakes
field_24977
hasLakes
f_70357_
private final List<Holder<PlacedFeature>>
j
lakes
field_40918
features
f_254642_

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(dqd arg0)
validateHeight(FlatLevelGeneratorSettings arg0)
method_33067(class_3232 arg0)
checkHeight(FlatChunkGeneratorConfig config)
m_161905_(C_2431_ p_161906_)
private static Holder<Biome>
a(Optional<? extends he<cnk>> arg0, he<cnk> 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)
m_255287_(Optional<? extends C_203228_<C_1629_>> p_256142_, C_203228_<C_1629_> p_256475_)
public FlatLevelGeneratorSettings
a(List<dqa> arg0, Optional<hi<dsg>> arg1, he<cnk> 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)
m_254853_(List<C_2430_> p_256500_, Optional<C_203233_<C_207023_>> p_256598_, C_203228_<C_1629_> arg2)
public void
a()
setDecoration()
method_28911()
enableFeatures()
m_70369_()
public void
b()
setAddLakes()
method_28916()
enableLakes()
m_70385_()
public BiomeGenerationSettings
a(he<cnk> 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 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(hf<cnk> arg0, hf<dsg> arg1, hf<dre> 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)
m_254980_(C_254583_<C_1629_> p_256175_, C_254583_<C_207023_> p_256081_, C_254583_<C_183014_> p_256484_)
public static Holder<Biome>
a(hf<cnk> arg0)
getDefaultBiome(HolderGetter<Biome> arg0)
method_46726(class_7871<class_1959> arg0)
getPlains(RegistryEntryLookup<Biome> biomeLookup)
m_255268_(C_254583_<C_1629_> p_256645_)
public static List<Holder<PlacedFeature>>
b(hf<dre> arg0)
createLakesList(HolderGetter<PlacedFeature> arg0)
method_46729(class_7871<class_6796> arg0)
getLavaLakes(RegistryEntryLookup<PlacedFeature> featureLookup)
m_255047_(C_254583_<C_183014_> p_256282_)