类 FlatChunkGeneratorConfig


  • public class FlatChunkGeneratorConfig
    extends Object
    Mappings:
    Namespace Name
    official cxs
    intermediary net/minecraft/class_3232
    named net/minecraft/world/gen/chunk/FlatChunkGeneratorConfig
    • 字段详细资料

      • LOGGER

        private static final Logger LOGGER
        Mappings:
        Namespace Name Mixin selector
        official b Lcxs;b:Lorg/apache/logging/log4j/Logger;
        intermediary field_14064 Lnet/minecraft/class_3232;field_14064:Lorg/apache/logging/log4j/Logger;
        named LOGGER Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;LOGGER:Lorg/apache/logging/log4j/Logger;
      • CODEC

        public static final com.mojang.serialization.Codec<FlatChunkGeneratorConfig> CODEC
        Mappings:
        Namespace Name Mixin selector
        official a Lcxs;a:Lcom/mojang/serialization/Codec;
        intermediary field_24975 Lnet/minecraft/class_3232;field_24975:Lcom/mojang/serialization/Codec;
        named CODEC Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;CODEC:Lcom/mojang/serialization/Codec;
      • STRUCTURE_TO_FEATURES

        private static final Map<StructureFeature<?>,​ConfiguredStructureFeature<?,​?>> STRUCTURE_TO_FEATURES
        Mappings:
        Namespace Name Mixin selector
        official c Lcxs;c:Ljava/util/Map;
        intermediary field_14073 Lnet/minecraft/class_3232;field_14073:Ljava/util/Map;
        named STRUCTURE_TO_FEATURES Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;STRUCTURE_TO_FEATURES:Ljava/util/Map;
      • biomeRegistry

        private final Registry<Biome> biomeRegistry
        Mappings:
        Namespace Name Mixin selector
        official d Lcxs;d:Lgr;
        intermediary field_26748 Lnet/minecraft/class_3232;field_26748:Lnet/minecraft/class_2378;
        named biomeRegistry Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;biomeRegistry:Lnet/minecraft/util/registry/Registry;
      • structuresConfig

        private final StructuresConfig structuresConfig
        Mappings:
        Namespace Name Mixin selector
        official e Lcxs;e:Lcpd;
        intermediary field_24560 Lnet/minecraft/class_3232;field_24560:Lnet/minecraft/class_5311;
        named structuresConfig Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;structuresConfig:Lnet/minecraft/world/gen/chunk/StructuresConfig;
      • layers

        private final List<FlatChunkGeneratorLayer> layers
        Mappings:
        Namespace Name Mixin selector
        official f Lcxs;f:Ljava/util/List;
        intermediary field_14072 Lnet/minecraft/class_3232;field_14072:Ljava/util/List;
        named layers Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;layers:Ljava/util/List;
      • biome

        private Supplier<Biome> biome
        Mappings:
        Namespace Name Mixin selector
        official g Lcxs;g:Ljava/util/function/Supplier;
        intermediary field_14081 Lnet/minecraft/class_3232;field_14081:Ljava/util/function/Supplier;
        named biome Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;biome:Ljava/util/function/Supplier;
      • layerBlocks

        private final List<BlockState> layerBlocks
        Mappings:
        Namespace Name Mixin selector
        official h Lcxs;h:Ljava/util/List;
        intermediary field_14082 Lnet/minecraft/class_3232;field_14082:Ljava/util/List;
        named layerBlocks Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;layerBlocks:Ljava/util/List;
      • hasNoTerrain

        private boolean hasNoTerrain
        Mappings:
        Namespace Name Mixin selector
        official i Lcxs;i:Z
        intermediary field_14077 Lnet/minecraft/class_3232;field_14077:Z
        named hasNoTerrain Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;hasNoTerrain:Z
      • hasFeatures

        private boolean hasFeatures
        Mappings:
        Namespace Name Mixin selector
        official j Lcxs;j:Z
        intermediary field_24976 Lnet/minecraft/class_3232;field_24976:Z
        named hasFeatures Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;hasFeatures:Z
      • hasLakes

        private boolean hasLakes
        Mappings:
        Namespace Name Mixin selector
        official k Lcxs;k:Z
        intermediary field_24977 Lnet/minecraft/class_3232;field_24977:Z
        named hasLakes Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;hasLakes:Z
    • 构造器详细资料

      • FlatChunkGeneratorConfig

        private FlatChunkGeneratorConfig​(Registry<Biome> biomeRegistry,
                                         StructuresConfig structuresConfig,
                                         List<FlatChunkGeneratorLayer> layers,
                                         boolean hasLakes,
                                         boolean hasFeatures,
                                         Optional<Supplier<Biome>> biome)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lcxs;<init>(Lgr;Lcpd;Ljava/util/List;ZZLjava/util/Optional;)V
        intermediary <init> Lnet/minecraft/class_3232;<init>(Lnet/minecraft/class_2378;Lnet/minecraft/class_5311;Ljava/util/List;ZZLjava/util/Optional;)V
        named <init> Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;<init>(Lnet/minecraft/util/registry/Registry;Lnet/minecraft/world/gen/chunk/StructuresConfig;Ljava/util/List;ZZLjava/util/Optional;)V
      • FlatChunkGeneratorConfig

        public FlatChunkGeneratorConfig​(StructuresConfig structuresConfig,
                                        Registry<Biome> biomeRegistry)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lcxs;<init>(Lcpd;Lgr;)V
        intermediary <init> Lnet/minecraft/class_3232;<init>(Lnet/minecraft/class_5311;Lnet/minecraft/class_2378;)V
        named <init> Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;<init>(Lnet/minecraft/world/gen/chunk/StructuresConfig;Lnet/minecraft/util/registry/Registry;)V
    • 方法详细资料

      • checkHeight

        private static com.mojang.serialization.DataResult<FlatChunkGeneratorConfig> checkHeight​(FlatChunkGeneratorConfig config)
        Mappings:
        Namespace Name Mixin selector
        official a Lcxs;a(Lcxs;)Lcom/mojang/serialization/DataResult;
        intermediary method_33067 Lnet/minecraft/class_3232;method_33067(Lnet/minecraft/class_3232;)Lcom/mojang/serialization/DataResult;
        named checkHeight Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;checkHeight(Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;)Lcom/mojang/serialization/DataResult;
      • withStructuresConfig

        public FlatChunkGeneratorConfig withStructuresConfig​(StructuresConfig structuresConfig)
        Mappings:
        Namespace Name Mixin selector
        official a Lcxs;a(Lcpd;)Lcxs;
        intermediary method_28912 Lnet/minecraft/class_3232;method_28912(Lnet/minecraft/class_5311;)Lnet/minecraft/class_3232;
        named withStructuresConfig Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;withStructuresConfig(Lnet/minecraft/world/gen/chunk/StructuresConfig;)Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;
      • withLayers

        public FlatChunkGeneratorConfig withLayers​(List<FlatChunkGeneratorLayer> layers,
                                                   StructuresConfig structuresConfig)
        Mappings:
        Namespace Name Mixin selector
        official a Lcxs;a(Ljava/util/List;Lcpd;)Lcxs;
        intermediary method_29965 Lnet/minecraft/class_3232;method_29965(Ljava/util/List;Lnet/minecraft/class_5311;)Lnet/minecraft/class_3232;
        named withLayers Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;withLayers(Ljava/util/List;Lnet/minecraft/world/gen/chunk/StructuresConfig;)Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;
      • enableFeatures

        public void enableFeatures()
        Mappings:
        Namespace Name Mixin selector
        official a Lcxs;a()V
        intermediary method_28911 Lnet/minecraft/class_3232;method_28911()V
        named enableFeatures Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;enableFeatures()V
      • enableLakes

        public void enableLakes()
        Mappings:
        Namespace Name Mixin selector
        official b Lcxs;b()V
        intermediary method_28916 Lnet/minecraft/class_3232;method_28916()V
        named enableLakes Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;enableLakes()V
      • createBiome

        public Biome createBiome()
        Mappings:
        Namespace Name Mixin selector
        official c Lcxs;c()Lbwq;
        intermediary method_28917 Lnet/minecraft/class_3232;method_28917()Lnet/minecraft/class_1959;
        named createBiome Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;createBiome()Lnet/minecraft/world/biome/Biome;
      • getStructuresConfig

        public StructuresConfig getStructuresConfig()
        Mappings:
        Namespace Name Mixin selector
        official d Lcxs;d()Lcpd;
        intermediary method_28051 Lnet/minecraft/class_3232;method_28051()Lnet/minecraft/class_5311;
        named getStructuresConfig Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;getStructuresConfig()Lnet/minecraft/world/gen/chunk/StructuresConfig;
      • getBiome

        public Biome getBiome()
        Mappings:
        Namespace Name Mixin selector
        official e Lcxs;e()Lbwq;
        intermediary method_14326 Lnet/minecraft/class_3232;method_14326()Lnet/minecraft/class_1959;
        named getBiome Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;getBiome()Lnet/minecraft/world/biome/Biome;
      • setBiome

        public void setBiome​(Supplier<Biome> biome)
        Mappings:
        Namespace Name Mixin selector
        official a Lcxs;a(Ljava/util/function/Supplier;)V
        intermediary method_14325 Lnet/minecraft/class_3232;method_14325(Ljava/util/function/Supplier;)V
        named setBiome Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;setBiome(Ljava/util/function/Supplier;)V
      • getLayers

        public List<FlatChunkGeneratorLayer> getLayers()
        Mappings:
        Namespace Name Mixin selector
        official f Lcxs;f()Ljava/util/List;
        intermediary method_14327 Lnet/minecraft/class_3232;method_14327()Ljava/util/List;
        named getLayers Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;getLayers()Ljava/util/List;
      • getLayerBlocks

        public List<BlockState> getLayerBlocks()
        Mappings:
        Namespace Name Mixin selector
        official g Lcxs;g()Ljava/util/List;
        intermediary method_14312 Lnet/minecraft/class_3232;method_14312()Ljava/util/List;
        named getLayerBlocks Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;getLayerBlocks()Ljava/util/List;
      • updateLayerBlocks

        public void updateLayerBlocks()
        Mappings:
        Namespace Name Mixin selector
        official h Lcxs;h()V
        intermediary method_14330 Lnet/minecraft/class_3232;method_14330()V
        named updateLayerBlocks Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;updateLayerBlocks()V
      • getDefaultConfig

        public static FlatChunkGeneratorConfig getDefaultConfig​(Registry<Biome> biomeRegistry)
        Mappings:
        Namespace Name Mixin selector
        official a Lcxs;a(Lgr;)Lcxs;
        intermediary method_14309 Lnet/minecraft/class_3232;method_14309(Lnet/minecraft/class_2378;)Lnet/minecraft/class_3232;
        named getDefaultConfig Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;getDefaultConfig(Lnet/minecraft/util/registry/Registry;)Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;