Package net.minecraft.client.world
Class GeneratorType
java.lang.Object
net.minecraft.client.world.GeneratorType
@Environment(CLIENT) public abstract class GeneratorType extends Object
- Mappings:
Namespace Name official ecxintermediary net/minecraft/class_5317named net/minecraft/client/world/GeneratorType
-
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)static Optional<GeneratorType>fromGeneratorOptions(GeneratorOptions generatorOptions)protected abstract ChunkGeneratorgetChunkGenerator(Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed)private static BiomegetFirstBiome(DynamicRegistryManager registryManager, GeneratorOptions options)TextgetTranslationKey()static booleanisNotDebug(GeneratorType generatorType)
-
Field Details
-
DEFAULT
- Mappings:
Namespace Name Mixin selector official aLecx;a:Lecx;intermediary field_25050Lnet/minecraft/class_5317;field_25050:Lnet/minecraft/class_5317;named DEFAULTLnet/minecraft/client/world/GeneratorType;DEFAULT:Lnet/minecraft/client/world/GeneratorType;
-
FLAT
- Mappings:
Namespace Name Mixin selector official eLecx;e:Lecx;intermediary field_25054Lnet/minecraft/class_5317;field_25054:Lnet/minecraft/class_5317;named FLATLnet/minecraft/client/world/GeneratorType;FLAT:Lnet/minecraft/client/world/GeneratorType;
-
LARGE_BIOMES
- Mappings:
Namespace Name Mixin selector official fLecx;f:Lecx;intermediary field_25055Lnet/minecraft/class_5317;field_25055:Lnet/minecraft/class_5317;named LARGE_BIOMESLnet/minecraft/client/world/GeneratorType;LARGE_BIOMES:Lnet/minecraft/client/world/GeneratorType;
-
AMPLIFIED
- Mappings:
Namespace Name Mixin selector official bLecx;b:Lecx;intermediary field_25051Lnet/minecraft/class_5317;field_25051:Lnet/minecraft/class_5317;named AMPLIFIEDLnet/minecraft/client/world/GeneratorType;AMPLIFIED:Lnet/minecraft/client/world/GeneratorType;
-
SINGLE_BIOME_SURFACE
- Mappings:
Namespace Name Mixin selector official gLecx;g:Lecx;intermediary field_25056Lnet/minecraft/class_5317;field_25056:Lnet/minecraft/class_5317;named SINGLE_BIOME_SURFACELnet/minecraft/client/world/GeneratorType;SINGLE_BIOME_SURFACE:Lnet/minecraft/client/world/GeneratorType;
-
SINGLE_BIOME_CAVES
- Mappings:
Namespace Name Mixin selector official hLecx;h:Lecx;intermediary field_25057Lnet/minecraft/class_5317;field_25057:Lnet/minecraft/class_5317;named SINGLE_BIOME_CAVESLnet/minecraft/client/world/GeneratorType;SINGLE_BIOME_CAVES:Lnet/minecraft/client/world/GeneratorType;
-
SINGLE_BIOME_FLOATING_ISLANDS
- Mappings:
Namespace Name Mixin selector official iLecx;i:Lecx;intermediary field_25058Lnet/minecraft/class_5317;field_25058:Lnet/minecraft/class_5317;named SINGLE_BIOME_FLOATING_ISLANDSLnet/minecraft/client/world/GeneratorType;SINGLE_BIOME_FLOATING_ISLANDS:Lnet/minecraft/client/world/GeneratorType;
-
DEBUG_ALL_BLOCK_STATES
- Mappings:
Namespace Name Mixin selector official jLecx;j:Lecx;intermediary field_25059Lnet/minecraft/class_5317;field_25059:Lnet/minecraft/class_5317;named DEBUG_ALL_BLOCK_STATESLnet/minecraft/client/world/GeneratorType;DEBUG_ALL_BLOCK_STATES:Lnet/minecraft/client/world/GeneratorType;
-
VALUES
- Mappings:
Namespace Name Mixin selector official cLecx;c:Ljava/util/List;intermediary field_25052Lnet/minecraft/class_5317;field_25052:Ljava/util/List;named VALUESLnet/minecraft/client/world/GeneratorType;VALUES:Ljava/util/List;
-
SCREEN_PROVIDERS
- Mappings:
Namespace Name Mixin selector official dLecx;d:Ljava/util/Map;intermediary field_25053Lnet/minecraft/class_5317;field_25053:Ljava/util/Map;named SCREEN_PROVIDERSLnet/minecraft/client/world/GeneratorType;SCREEN_PROVIDERS:Ljava/util/Map;
-
translationKey
- Mappings:
Namespace Name Mixin selector official kLecx;k:Lon;intermediary field_25060Lnet/minecraft/class_5317;field_25060:Lnet/minecraft/class_2561;named translationKeyLnet/minecraft/client/world/GeneratorType;translationKey:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
GeneratorType
- Mappings:
Namespace Name Mixin selector official <init>Lecx;<init>(Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_5317;<init>(Ljava/lang/String;)Vnamed <init>Lnet/minecraft/client/world/GeneratorType;<init>(Ljava/lang/String;)V
-
-
Method Details
-
createFixedBiomeOptions
private static GeneratorOptions createFixedBiomeOptions(DynamicRegistryManager registryManager, GeneratorOptions generatorOptions, GeneratorType type, Biome biome)- Mappings:
Namespace Name Mixin selector official aLecx;a(Lgs;Lcpf;Lecx;Lbwq;)Lcpf;intermediary method_29079Lnet/minecraft/class_5317;method_29079(Lnet/minecraft/class_5455;Lnet/minecraft/class_5285;Lnet/minecraft/class_5317;Lnet/minecraft/class_1959;)Lnet/minecraft/class_5285;named createFixedBiomeOptionsLnet/minecraft/client/world/GeneratorType;createFixedBiomeOptions(Lnet/minecraft/util/registry/DynamicRegistryManager;Lnet/minecraft/world/gen/GeneratorOptions;Lnet/minecraft/client/world/GeneratorType;Lnet/minecraft/world/biome/Biome;)Lnet/minecraft/world/gen/GeneratorOptions;
-
getFirstBiome
private static Biome getFirstBiome(DynamicRegistryManager registryManager, GeneratorOptions options)- Mappings:
Namespace Name Mixin selector official aLecx;a(Lgs;Lcpf;)Lbwq;intermediary method_29083Lnet/minecraft/class_5317;method_29083(Lnet/minecraft/class_5455;Lnet/minecraft/class_5285;)Lnet/minecraft/class_1959;named getFirstBiomeLnet/minecraft/client/world/GeneratorType;getFirstBiome(Lnet/minecraft/util/registry/DynamicRegistryManager;Lnet/minecraft/world/gen/GeneratorOptions;)Lnet/minecraft/world/biome/Biome;
-
fromGeneratorOptions
- Mappings:
Namespace Name Mixin selector official aLecx;a(Lcpf;)Ljava/util/Optional;intermediary method_29078Lnet/minecraft/class_5317;method_29078(Lnet/minecraft/class_5285;)Ljava/util/Optional;named fromGeneratorOptionsLnet/minecraft/client/world/GeneratorType;fromGeneratorOptions(Lnet/minecraft/world/gen/GeneratorOptions;)Ljava/util/Optional;
-
getTranslationKey
- Mappings:
Namespace Name Mixin selector official aLecx;a()Lon;intermediary method_29075Lnet/minecraft/class_5317;method_29075()Lnet/minecraft/class_2561;named getTranslationKeyLnet/minecraft/client/world/GeneratorType;getTranslationKey()Lnet/minecraft/text/Text;
-
createDefaultOptions
public GeneratorOptions createDefaultOptions(DynamicRegistryManager.Impl registryManager, long seed, boolean generateStructures, boolean bonusChest)- Mappings:
Namespace Name Mixin selector official aLecx;a(Lgs$b;JZZ)Lcpf;intermediary method_29077Lnet/minecraft/class_5317;method_29077(Lnet/minecraft/class_5455$class_5457;JZZ)Lnet/minecraft/class_5285;named createDefaultOptionsLnet/minecraft/client/world/GeneratorType;createDefaultOptions(Lnet/minecraft/util/registry/DynamicRegistryManager$Impl;JZZ)Lnet/minecraft/world/gen/GeneratorOptions;
-
getChunkGenerator
protected abstract ChunkGenerator getChunkGenerator(Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed)- Mappings:
Namespace Name Mixin selector official aLecx;a(Lgr;Lgr;J)Lclm;intermediary method_29076Lnet/minecraft/class_5317;method_29076(Lnet/minecraft/class_2378;Lnet/minecraft/class_2378;J)Lnet/minecraft/class_2794;named getChunkGeneratorLnet/minecraft/client/world/GeneratorType;getChunkGenerator(Lnet/minecraft/util/registry/Registry;Lnet/minecraft/util/registry/Registry;J)Lnet/minecraft/world/gen/chunk/ChunkGenerator;
-
isNotDebug
- Mappings:
Namespace Name Mixin selector official aLecx;a(Lecx;)Zintermediary method_32685Lnet/minecraft/class_5317;method_32685(Lnet/minecraft/class_5317;)Znamed isNotDebugLnet/minecraft/client/world/GeneratorType;isNotDebug(Lnet/minecraft/client/world/GeneratorType;)Z
-