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 dyz
intermediary net/minecraft/class_5317
named net/minecraft/client/world/GeneratorType
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GeneratorType.ScreenProvider
-
Field Summary
Fields Modifier and Type Field 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
-
Constructor Summary
Constructors Modifier Constructor Description private
GeneratorType(String translationKey)
-
Method Summary
Modifier and Type Method Description GeneratorOptions
createDefaultOptions(DynamicRegistryManager.Impl registryManager, long seed, boolean generateStructures, boolean bonusChest)
private static GeneratorOptions
createFixedBiomeOptions(DynamicRegistryManager registryManager, GeneratorOptions generatorOptions, GeneratorType type, Biome biome)
static Optional<GeneratorType>
fromGeneratorOptions(GeneratorOptions generatorOptions)
protected abstract ChunkGenerator
getChunkGenerator(Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed)
private static Biome
getFirstBiome(DynamicRegistryManager registryManager, GeneratorOptions options)
Text
getTranslationKey()
static boolean
isNotDebug(GeneratorType generatorType)
-
Field Details
-
DEFAULT
- Mappings:
Namespace Name Mixin selector official a
Ldyz;a:Ldyz;
intermediary field_25050
Lnet/minecraft/class_5317;field_25050:Lnet/minecraft/class_5317;
named DEFAULT
Lnet/minecraft/client/world/GeneratorType;DEFAULT:Lnet/minecraft/client/world/GeneratorType;
-
FLAT
- Mappings:
Namespace Name Mixin selector official e
Ldyz;e:Ldyz;
intermediary field_25054
Lnet/minecraft/class_5317;field_25054:Lnet/minecraft/class_5317;
named FLAT
Lnet/minecraft/client/world/GeneratorType;FLAT:Lnet/minecraft/client/world/GeneratorType;
-
LARGE_BIOMES
- Mappings:
Namespace Name Mixin selector official f
Ldyz;f:Ldyz;
intermediary field_25055
Lnet/minecraft/class_5317;field_25055:Lnet/minecraft/class_5317;
named LARGE_BIOMES
Lnet/minecraft/client/world/GeneratorType;LARGE_BIOMES:Lnet/minecraft/client/world/GeneratorType;
-
AMPLIFIED
- Mappings:
Namespace Name Mixin selector official b
Ldyz;b:Ldyz;
intermediary field_25051
Lnet/minecraft/class_5317;field_25051:Lnet/minecraft/class_5317;
named AMPLIFIED
Lnet/minecraft/client/world/GeneratorType;AMPLIFIED:Lnet/minecraft/client/world/GeneratorType;
-
SINGLE_BIOME_SURFACE
- Mappings:
Namespace Name Mixin selector official g
Ldyz;g:Ldyz;
intermediary field_25056
Lnet/minecraft/class_5317;field_25056:Lnet/minecraft/class_5317;
named SINGLE_BIOME_SURFACE
Lnet/minecraft/client/world/GeneratorType;SINGLE_BIOME_SURFACE:Lnet/minecraft/client/world/GeneratorType;
-
SINGLE_BIOME_CAVES
- Mappings:
Namespace Name Mixin selector official h
Ldyz;h:Ldyz;
intermediary field_25057
Lnet/minecraft/class_5317;field_25057:Lnet/minecraft/class_5317;
named SINGLE_BIOME_CAVES
Lnet/minecraft/client/world/GeneratorType;SINGLE_BIOME_CAVES:Lnet/minecraft/client/world/GeneratorType;
-
SINGLE_BIOME_FLOATING_ISLANDS
- Mappings:
Namespace Name Mixin selector official i
Ldyz;i:Ldyz;
intermediary field_25058
Lnet/minecraft/class_5317;field_25058:Lnet/minecraft/class_5317;
named SINGLE_BIOME_FLOATING_ISLANDS
Lnet/minecraft/client/world/GeneratorType;SINGLE_BIOME_FLOATING_ISLANDS:Lnet/minecraft/client/world/GeneratorType;
-
DEBUG_ALL_BLOCK_STATES
- Mappings:
Namespace Name Mixin selector official j
Ldyz;j:Ldyz;
intermediary field_25059
Lnet/minecraft/class_5317;field_25059:Lnet/minecraft/class_5317;
named DEBUG_ALL_BLOCK_STATES
Lnet/minecraft/client/world/GeneratorType;DEBUG_ALL_BLOCK_STATES:Lnet/minecraft/client/world/GeneratorType;
-
VALUES
- Mappings:
Namespace Name Mixin selector official c
Ldyz;c:Ljava/util/List;
intermediary field_25052
Lnet/minecraft/class_5317;field_25052:Ljava/util/List;
named VALUES
Lnet/minecraft/client/world/GeneratorType;VALUES:Ljava/util/List;
-
SCREEN_PROVIDERS
- Mappings:
Namespace Name Mixin selector official d
Ldyz;d:Ljava/util/Map;
intermediary field_25053
Lnet/minecraft/class_5317;field_25053:Ljava/util/Map;
named SCREEN_PROVIDERS
Lnet/minecraft/client/world/GeneratorType;SCREEN_PROVIDERS:Ljava/util/Map;
-
translationKey
- Mappings:
Namespace Name Mixin selector official k
Ldyz;k:Loi;
intermediary field_25060
Lnet/minecraft/class_5317;field_25060:Lnet/minecraft/class_2561;
named translationKey
Lnet/minecraft/client/world/GeneratorType;translationKey:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
GeneratorType
- Mappings:
Namespace Name Mixin selector official <init>
Ldyz;<init>(Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_5317;<init>(Ljava/lang/String;)V
named <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 a
Ldyz;a(Lgo;Lcmy;Ldyz;Lbuu;)Lcmy;
intermediary method_29079
Lnet/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 createFixedBiomeOptions
Lnet/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 a
Ldyz;a(Lgo;Lcmy;)Lbuu;
intermediary method_29083
Lnet/minecraft/class_5317;method_29083(Lnet/minecraft/class_5455;Lnet/minecraft/class_5285;)Lnet/minecraft/class_1959;
named getFirstBiome
Lnet/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 a
Ldyz;a(Lcmy;)Ljava/util/Optional;
intermediary method_29078
Lnet/minecraft/class_5317;method_29078(Lnet/minecraft/class_5285;)Ljava/util/Optional;
named fromGeneratorOptions
Lnet/minecraft/client/world/GeneratorType;fromGeneratorOptions(Lnet/minecraft/world/gen/GeneratorOptions;)Ljava/util/Optional;
-
getTranslationKey
- Mappings:
Namespace Name Mixin selector official a
Ldyz;a()Loi;
intermediary method_29075
Lnet/minecraft/class_5317;method_29075()Lnet/minecraft/class_2561;
named getTranslationKey
Lnet/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 a
Ldyz;a(Lgo$b;JZZ)Lcmy;
intermediary method_29077
Lnet/minecraft/class_5317;method_29077(Lnet/minecraft/class_5455$class_5457;JZZ)Lnet/minecraft/class_5285;
named createDefaultOptions
Lnet/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 a
Ldyz;a(Lgn;Lgn;J)Lcjn;
intermediary method_29076
Lnet/minecraft/class_5317;method_29076(Lnet/minecraft/class_2378;Lnet/minecraft/class_2378;J)Lnet/minecraft/class_2794;
named getChunkGenerator
Lnet/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 a
Ldyz;a(Ldyz;)Z
intermediary method_32685
Lnet/minecraft/class_5317;method_32685(Lnet/minecraft/class_5317;)Z
named isNotDebug
Lnet/minecraft/client/world/GeneratorType;isNotDebug(Lnet/minecraft/client/world/GeneratorType;)Z
-