@Environment(value=CLIENT) public abstract class GeneratorType extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
GeneratorType.ScreenProvider |
Modifier and Type | Field and Description |
---|---|
static GeneratorType |
AMPLIFIED |
private static GeneratorType |
DEBUG_ALL_BLOCK_STATES |
static GeneratorType |
DEFAULT |
private static GeneratorType |
FLAT |
private static GeneratorType |
LARGE_BIOMES |
protected static Map<Optional<GeneratorType>,GeneratorType.ScreenProvider> |
SCREEN_PROVIDERS |
private static GeneratorType |
SINGLE_BIOME_CAVES |
private static GeneratorType |
SINGLE_BIOME_FLOATING_ISLANDS |
private static GeneratorType |
SINGLE_BIOME_SURFACE |
private Text |
translationKey |
protected static List<GeneratorType> |
VALUES |
Modifier | Constructor and Description |
---|---|
private |
GeneratorType(String translationKey) |
Modifier and Type | Method and Description |
---|---|
GeneratorOptions |
createDefaultOptions(DynamicRegistryManager.Impl registryManager,
long seed,
boolean generateStructures,
boolean bonusChest) |
private static GeneratorOptions |
createFixedBiomeOptions(DynamicRegistryManager registryManager,
GeneratorOptions generatorOptions,
GeneratorType type,
Biome biome) |
protected abstract ChunkGenerator |
getChunkGenerator(Registry<Biome> biomeRegistry,
Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry,
long seed) |
private static Biome |
getFirstBiome(DynamicRegistryManager registryManager,
GeneratorOptions options) |
Text |
getTranslationKey() |
static Optional<GeneratorType> |
method_29078(GeneratorOptions generatorOptions) |
public static final GeneratorType DEFAULT
private static final GeneratorType FLAT
private static final GeneratorType LARGE_BIOMES
public static final GeneratorType AMPLIFIED
private static final GeneratorType SINGLE_BIOME_SURFACE
private static final GeneratorType SINGLE_BIOME_CAVES
private static final GeneratorType SINGLE_BIOME_FLOATING_ISLANDS
private static final GeneratorType DEBUG_ALL_BLOCK_STATES
protected static final List<GeneratorType> VALUES
protected static final Map<Optional<GeneratorType>,GeneratorType.ScreenProvider> SCREEN_PROVIDERS
private final Text translationKey
private GeneratorType(String translationKey)
private static GeneratorOptions createFixedBiomeOptions(DynamicRegistryManager registryManager, GeneratorOptions generatorOptions, GeneratorType type, Biome biome)
private static Biome getFirstBiome(DynamicRegistryManager registryManager, GeneratorOptions options)
public static Optional<GeneratorType> method_29078(GeneratorOptions generatorOptions)
public Text getTranslationKey()
public GeneratorOptions createDefaultOptions(DynamicRegistryManager.Impl registryManager, long seed, boolean generateStructures, boolean bonusChest)
protected abstract ChunkGenerator getChunkGenerator(Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed)