Package net.minecraft.world.gen.chunk
Class ChunkGeneratorType.Preset
java.lang.Object
net.minecraft.world.gen.chunk.ChunkGeneratorType.Preset
- Enclosing class:
- ChunkGeneratorType
public static class ChunkGeneratorType.Preset extends Object
-
Field Summary
Fields Modifier and Type Field Description static ChunkGeneratorType.PresetAMPLIFIEDprivate static Map<Identifier,ChunkGeneratorType.Preset>BY_IDstatic ChunkGeneratorType.PresetCAVESprivate ChunkGeneratorTypechunkGeneratorTypestatic ChunkGeneratorType.PresetENDstatic com.mojang.serialization.Codec<ChunkGeneratorType.Preset>field_24788static ChunkGeneratorType.PresetFLOATING_ISLANDSprivate Identifieridstatic ChunkGeneratorType.PresetNETHERstatic ChunkGeneratorType.PresetOVERWORLDprivate Texttext -
Constructor Summary
Constructors Constructor Description Preset(String id, Function<ChunkGeneratorType.Preset,ChunkGeneratorType> generatorTypeGetter) -
Method Summary
Modifier and Type Method Description private static ChunkGeneratorTypecreateCavesType(StructuresConfig config, BlockState defaultBlock, BlockState defaultFluid, ChunkGeneratorType.Preset preset)private static ChunkGeneratorTypecreateIslandsType(StructuresConfig config, BlockState defaultBlock, BlockState defaultFluid, ChunkGeneratorType.Preset preset, boolean bool, boolean bool2)private static ChunkGeneratorTypecreateOverworldType(StructuresConfig structuresConfig, boolean bool, ChunkGeneratorType.Preset preset)ChunkGeneratorTypegetChunkGeneratorType()
-
Field Details
-
Constructor Details
-
Preset
public Preset(String id, Function<ChunkGeneratorType.Preset,ChunkGeneratorType> generatorTypeGetter)
-
-
Method Details
-
getChunkGeneratorType
-
createIslandsType
private static ChunkGeneratorType createIslandsType(StructuresConfig config, BlockState defaultBlock, BlockState defaultFluid, ChunkGeneratorType.Preset preset, boolean bool, boolean bool2) -
createCavesType
private static ChunkGeneratorType createCavesType(StructuresConfig config, BlockState defaultBlock, BlockState defaultFluid, ChunkGeneratorType.Preset preset) -
createOverworldType
private static ChunkGeneratorType createOverworldType(StructuresConfig structuresConfig, boolean bool, ChunkGeneratorType.Preset preset)
-