Package net.minecraft.client.world
Class GeneratorType
java.lang.Object
net.minecraft.client.world.GeneratorType
@Environment(CLIENT) public abstract class GeneratorType extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGeneratorType.ScreenProvider -
Field Summary
Fields Modifier and Type Field Description static GeneratorTypeAMPLIFIEDprivate static GeneratorTypeDEBUG_ALL_BLOCK_STATESstatic GeneratorTypeDEFAULTprivate static GeneratorTypeFLATprivate static GeneratorTypeLARGE_BIOMESprotected static Map<Optional<GeneratorType>,GeneratorType.ScreenProvider>SCREEN_PROVIDERSprivate static GeneratorTypeSINGLE_BIOME_CAVESprivate static GeneratorTypeSINGLE_BIOME_FLOATING_ISLANDSprivate static GeneratorTypeSINGLE_BIOME_SURFACEprivate TexttranslationKeyprotected static List<GeneratorType>VALUES -
Constructor Summary
Constructors Modifier Constructor Description privateGeneratorType(String translationKey) -
Method Summary
Modifier and Type Method Description GeneratorOptionscreateDefaultOptions(DynamicRegistryManager.Impl registryManager, long seed, boolean generateStructures, boolean bonusChest)private static GeneratorOptionscreateFixedBiomeOptions(DynamicRegistryManager registryManager, GeneratorOptions generatorOptions, GeneratorType type, Biome biome)protected abstract ChunkGeneratorgetChunkGenerator(Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed)private static BiomegetFirstBiome(DynamicRegistryManager registryManager, GeneratorOptions options)TextgetTranslationKey()static Optional<GeneratorType>method_29078(GeneratorOptions generatorOptions)
-
Field Details
-
DEFAULT
-
FLAT
-
LARGE_BIOMES
-
AMPLIFIED
-
SINGLE_BIOME_SURFACE
-
SINGLE_BIOME_CAVES
-
SINGLE_BIOME_FLOATING_ISLANDS
-
DEBUG_ALL_BLOCK_STATES
-
VALUES
-
SCREEN_PROVIDERS
-
translationKey
-
-
Constructor Details
-
GeneratorType
-
-
Method Details
-
createFixedBiomeOptions
private static GeneratorOptions createFixedBiomeOptions(DynamicRegistryManager registryManager, GeneratorOptions generatorOptions, GeneratorType type, Biome biome) -
getFirstBiome
private static Biome getFirstBiome(DynamicRegistryManager registryManager, GeneratorOptions options) -
method_29078
-
getTranslationKey
-
createDefaultOptions
public GeneratorOptions createDefaultOptions(DynamicRegistryManager.Impl registryManager, long seed, boolean generateStructures, boolean bonusChest) -
getChunkGenerator
protected abstract ChunkGenerator getChunkGenerator(Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed)
-