类 GeneratorType


  • @Environment(CLIENT)
    public abstract class GeneratorType
    extends Object
    Mappings:
    Namespace Name
    official ecz
    intermediary net/minecraft/class_5317
    named net/minecraft/client/world/GeneratorType
    • 字段详细资料

      • DEFAULT

        public static final GeneratorType DEFAULT
        Mappings:
        Namespace Name Mixin selector
        official a Lecz;a:Lecz;
        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

        private static final GeneratorType FLAT
        Mappings:
        Namespace Name Mixin selector
        official e Lecz;e:Lecz;
        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

        private static final GeneratorType LARGE_BIOMES
        Mappings:
        Namespace Name Mixin selector
        official f Lecz;f:Lecz;
        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

        public static final GeneratorType AMPLIFIED
        Mappings:
        Namespace Name Mixin selector
        official b Lecz;b:Lecz;
        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

        private static final GeneratorType SINGLE_BIOME_SURFACE
        Mappings:
        Namespace Name Mixin selector
        official g Lecz;g:Lecz;
        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

        private static final GeneratorType SINGLE_BIOME_CAVES
        Mappings:
        Namespace Name Mixin selector
        official h Lecz;h:Lecz;
        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

        private static final GeneratorType SINGLE_BIOME_FLOATING_ISLANDS
        Mappings:
        Namespace Name Mixin selector
        official i Lecz;i:Lecz;
        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

        private static final GeneratorType DEBUG_ALL_BLOCK_STATES
        Mappings:
        Namespace Name Mixin selector
        official j Lecz;j:Lecz;
        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

        protected static final List<GeneratorType> VALUES
        Mappings:
        Namespace Name Mixin selector
        official c Lecz;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

        protected static final Map<Optional<GeneratorType>,​GeneratorType.ScreenProvider> SCREEN_PROVIDERS
        Mappings:
        Namespace Name Mixin selector
        official d Lecz;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

        private final Text translationKey
        Mappings:
        Namespace Name Mixin selector
        official k Lecz;k:Lon;
        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;
    • 构造器详细资料

      • GeneratorType

        private GeneratorType​(String translationKey)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lecz;<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
    • 方法详细资料

      • createFixedBiomeOptions

        private static GeneratorOptions createFixedBiomeOptions​(DynamicRegistryManager registryManager,
                                                                GeneratorOptions generatorOptions,
                                                                GeneratorType type,
                                                                Biome biome)
        Mappings:
        Namespace Name Mixin selector
        official a Lecz;a(Lgs;Lcpf;Lecz;Lbwq;)Lcpf;
        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 Lecz;a(Lgs;Lcpf;)Lbwq;
        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

        public static Optional<GeneratorType> fromGeneratorOptions​(GeneratorOptions generatorOptions)
        Mappings:
        Namespace Name Mixin selector
        official a Lecz;a(Lcpf;)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

        public Text getTranslationKey()
        Mappings:
        Namespace Name Mixin selector
        official a Lecz;a()Lon;
        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 Lecz;a(Lgs$b;JZZ)Lcpf;
        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 Lecz;a(Lgr;Lgr;J)Lclm;
        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

        public static boolean isNotDebug​(GeneratorType generatorType)
        Mappings:
        Namespace Name Mixin selector
        official a Lecz;a(Lecz;)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