Package net.minecraft.world.gen.chunk
Class FlatChunkGeneratorConfig
java.lang.Object
net.minecraft.world.gen.chunk.FlatChunkGeneratorConfig
public class FlatChunkGeneratorConfig extends Object
-
Field Summary
Fields Modifier and Type Field Description private Biomebiomestatic com.mojang.serialization.Codec<FlatChunkGeneratorConfig>CODECprivate StructuresConfigconfigprivate booleanfield_24976private booleanfield_24977private booleanhasNoTerrainprivate static ConfiguredFeature<?,?>LAVA_LAKEprivate BlockState[]layerBlocksprivate List<FlatChunkGeneratorLayer>layersprivate static LoggerLOGGERprivate static Map<StructureFeature<?>,ConfiguredStructureFeature<?,?>>STRUCTURE_TO_FEATURESprivate static ConfiguredFeature<?,?>WATER_LAKE -
Constructor Summary
Constructors Constructor Description FlatChunkGeneratorConfig(StructuresConfig config)FlatChunkGeneratorConfig(StructuresConfig structuresConfig, List<FlatChunkGeneratorLayer> list, boolean bool, boolean bool2, Biome biome) -
Method Summary
Modifier and Type Method Description BiomegetBiome()StructuresConfiggetConfig()static FlatChunkGeneratorConfiggetDefaultConfig()BlockState[]getLayerBlocks()List<FlatChunkGeneratorLayer>getLayers()voidmethod_28911()FlatChunkGeneratorConfigmethod_28912(StructuresConfig structuresConfig)voidmethod_28916()Biomemethod_28917()FlatChunkGeneratorConfigmethod_29965(List<FlatChunkGeneratorLayer> list, StructuresConfig structuresConfig)voidsetBiome(Biome biome)voidupdateLayerBlocks()
-
Field Details
-
LOGGER
-
CODEC
-
WATER_LAKE
-
LAVA_LAKE
-
STRUCTURE_TO_FEATURES
private static final Map<StructureFeature<?>,ConfiguredStructureFeature<?,?>> STRUCTURE_TO_FEATURES -
config
-
layers
-
biome
-
layerBlocks
-
hasNoTerrain
private boolean hasNoTerrain -
field_24976
private boolean field_24976 -
field_24977
private boolean field_24977
-
-
Constructor Details
-
FlatChunkGeneratorConfig
public FlatChunkGeneratorConfig(StructuresConfig structuresConfig, List<FlatChunkGeneratorLayer> list, boolean bool, boolean bool2, Biome biome) -
FlatChunkGeneratorConfig
-
-
Method Details
-
method_28912
@Environment(CLIENT) public FlatChunkGeneratorConfig method_28912(StructuresConfig structuresConfig) -
method_29965
@Environment(CLIENT) public FlatChunkGeneratorConfig method_29965(List<FlatChunkGeneratorLayer> list, StructuresConfig structuresConfig) -
method_28911
public void method_28911() -
method_28916
public void method_28916() -
method_28917
-
getConfig
-
getBiome
-
setBiome
-
getLayers
-
getLayerBlocks
-
updateLayerBlocks
public void updateLayerBlocks() -
getDefaultConfig
-