Class FlatChunkGeneratorConfig

java.lang.Object
net.minecraft.world.gen.chunk.FlatChunkGeneratorConfig

public class FlatChunkGeneratorConfig extends Object
Mappings:
Namespace Name
official cyw
intermediary net/minecraft/class_3232
named net/minecraft/world/gen/chunk/FlatChunkGeneratorConfig
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lcyw;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 Lcyw;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 Lcyw;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 Lcyw;d:Lgw;
      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 Lcyw;e:Lcqi;
      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 Lcyw;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 Lcyw;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 Lcyw;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 Lcyw;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 Lcyw;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 Lcyw;k:Z
      intermediary field_24977 Lnet/minecraft/class_3232;field_24977:Z
      named hasLakes Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;hasLakes:Z
  • Constructor Details

    • 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> Lcyw;<init>(Lgw;Lcqi;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> Lcyw;<init>(Lcqi;Lgw;)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
  • Method Details

    • checkHeight

      private static com.mojang.serialization.DataResult<FlatChunkGeneratorConfig> checkHeight(FlatChunkGeneratorConfig config)
      Mappings:
      Namespace Name Mixin selector
      official a Lcyw;a(Lcyw;)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 Lcyw;a(Lcqi;)Lcyw;
      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 Lcyw;a(Ljava/util/List;Lcqi;)Lcyw;
      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 Lcyw;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 Lcyw;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 Lcyw;c()Lbxo;
      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 Lcyw;d()Lcqi;
      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 Lcyw;e()Lbxo;
      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 Lcyw;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 Lcyw;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 Lcyw;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 Lcyw;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 Lcyw;a(Lgw;)Lcyw;
      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;