Class FlatChunkGeneratorConfig

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

public class FlatChunkGeneratorConfig extends Object
Mappings:
Namespace Name
official dcl
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 Ldcl;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 Ldcl;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;
    • biomeRegistry

      private final Registry<Biome> biomeRegistry
      Mappings:
      Namespace Name Mixin selector
      official c Ldcl;c:Lgx;
      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 d Ldcl;d:Lctl;
      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 e Ldcl;e: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 f Ldcl;f: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 g Ldcl;g: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 h Ldcl;h: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 i Ldcl;i: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 j Ldcl;j: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> Ldcl;<init>(Lgx;Lctl;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> Ldcl;<init>(Lctl;Lgx;)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 Ldcl;a(Ldcl;)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 Ldcl;a(Lctl;)Ldcl;
      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 Ldcl;a(Ljava/util/List;Lctl;)Ldcl;
      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 Ldcl;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 Ldcl;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 Ldcl;c()Lcas;
      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 Ldcl;d()Lctl;
      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 Ldcl;e()Lcas;
      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 Ldcl;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 Ldcl;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 Ldcl;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 Ldcl;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 Ldcl;a(Lgx;)Ldcl;
      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;