Package net.minecraft.client.world
Class GeneratorType
java.lang.Object
net.minecraft.client.world.GeneratorType
- Mappings:
Namespace Name official egbintermediary net/minecraft/class_5317named net/minecraft/client/world/GeneratorType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final GeneratorTypestatic final GeneratorTypeprivate final Textprivate static final GeneratorTypeprotected static final Map<Optional<GeneratorType>,GeneratorType.ScreenProvider> private static final GeneratorTypeprivate static final GeneratorTypeprivate static final GeneratorTypeprotected static final List<GeneratorType> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateDefaultOptions(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) static booleanisNotDebug(GeneratorType generatorType)
-
Field Details
-
DEFAULT
- Mappings:
Namespace Name Mixin selector official aLegb;a:Legb;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 dLegb;d:Legb;intermediary field_25054Lnet/minecraft/class_5317;field_25054:Lnet/minecraft/class_5317;named FLATLnet/minecraft/client/world/GeneratorType;FLAT:Lnet/minecraft/client/world/GeneratorType;
-
SINGLE_BIOME_SURFACE
- Mappings:
Namespace Name Mixin selector official eLegb;e:Legb;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 fLegb;f:Legb;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 gLegb;g:Legb;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 hLegb;h:Legb;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 bLegb;b: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 cLegb;c: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;
-
displayName
- Mappings:
Namespace Name Mixin selector official iLegb;i:Lov;intermediary field_25060Lnet/minecraft/class_5317;field_25060:Lnet/minecraft/class_2561;named displayNameLnet/minecraft/client/world/GeneratorType;displayName:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
GeneratorType
GeneratorType(String translationKeySuffix) - Mappings:
Namespace Name Mixin selector official <init>Legb;<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 aLegb;a(Lgy;Lcsq;Legb;Lbzv;)Lcsq;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 aLegb;a(Lgy;Lcsq;)Lbzv;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 aLegb;a(Lcsq;)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;
-
getDisplayName
- Mappings:
Namespace Name Mixin selector official aLegb;a()Lov;intermediary method_29075Lnet/minecraft/class_5317;method_29075()Lnet/minecraft/class_2561;named getDisplayNameLnet/minecraft/client/world/GeneratorType;getDisplayName()Lnet/minecraft/text/Text;
-
createDefaultOptions
public GeneratorOptions createDefaultOptions(DynamicRegistryManager.Impl registryManager, long seed, boolean generateStructures, boolean bonusChest) - Mappings:
Namespace Name Mixin selector official aLegb;a(Lgy$b;JZZ)Lcsq;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 aLegb;a(Lgx;Lgx;J)Lcou;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 aLegb;a(Legb;)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
-