public static class ChunkGeneratorType.Preset extends Object
| Modifier and Type | Field and Description |
|---|---|
static ChunkGeneratorType.Preset |
AMPLIFIED |
private static Map<Identifier,ChunkGeneratorType.Preset> |
BY_ID |
static ChunkGeneratorType.Preset |
CAVES |
private ChunkGeneratorType |
chunkGeneratorType |
static ChunkGeneratorType.Preset |
END |
static com.mojang.serialization.Codec<ChunkGeneratorType.Preset> |
field_24788 |
static ChunkGeneratorType.Preset |
FLOATING_ISLANDS |
private Identifier |
id |
static ChunkGeneratorType.Preset |
NETHER |
static ChunkGeneratorType.Preset |
OVERWORLD |
private Text |
text |
| Constructor and Description |
|---|
Preset(String id,
Function<ChunkGeneratorType.Preset,ChunkGeneratorType> generatorTypeGetter) |
| Modifier and Type | Method and Description |
|---|---|
private static ChunkGeneratorType |
createCavesType(StructuresConfig config,
BlockState defaultBlock,
BlockState defaultFluid,
ChunkGeneratorType.Preset preset) |
private static ChunkGeneratorType |
createIslandsType(StructuresConfig config,
BlockState defaultBlock,
BlockState defaultFluid,
ChunkGeneratorType.Preset preset,
boolean bool,
boolean bool2) |
private static ChunkGeneratorType |
createOverworldType(StructuresConfig structuresConfig,
boolean bool,
ChunkGeneratorType.Preset preset) |
ChunkGeneratorType |
getChunkGeneratorType() |
private static final Map<Identifier,ChunkGeneratorType.Preset> BY_ID
public static final com.mojang.serialization.Codec<ChunkGeneratorType.Preset> field_24788
public static final ChunkGeneratorType.Preset OVERWORLD
public static final ChunkGeneratorType.Preset AMPLIFIED
public static final ChunkGeneratorType.Preset NETHER
public static final ChunkGeneratorType.Preset END
public static final ChunkGeneratorType.Preset CAVES
public static final ChunkGeneratorType.Preset FLOATING_ISLANDS
private final Text text
private final Identifier id
private final ChunkGeneratorType chunkGeneratorType
public Preset(String id, Function<ChunkGeneratorType.Preset,ChunkGeneratorType> generatorTypeGetter)
public ChunkGeneratorType getChunkGeneratorType()
private static ChunkGeneratorType createIslandsType(StructuresConfig config, BlockState defaultBlock, BlockState defaultFluid, ChunkGeneratorType.Preset preset, boolean bool, boolean bool2)
private static ChunkGeneratorType createCavesType(StructuresConfig config, BlockState defaultBlock, BlockState defaultFluid, ChunkGeneratorType.Preset preset)
private static ChunkGeneratorType createOverworldType(StructuresConfig structuresConfig, boolean bool, ChunkGeneratorType.Preset preset)