Class FlatChunkGeneratorConfig

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

public class FlatChunkGeneratorConfig extends Object
Mappings:
Namespace Name
official dcv
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 Ldcv;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 Ldcv;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 Ldcv;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 Ldcv;d:Lctt;
      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 Ldcv;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 Ldcv;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 Ldcv;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 Ldcv;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 Ldcv;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 Ldcv;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> Ldcv;<init>(Lgx;Lctt;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> Ldcv;<init>(Lctt;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 Ldcv;a(Ldcv;)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 Ldcv;a(Lctt;)Ldcv;
      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 Ldcv;a(Ljava/util/List;Lctt;)Ldcv;
      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 Ldcv;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 Ldcv;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 Ldcv;c()Lcaz;
      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 Ldcv;d()Lctt;
      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 Ldcv;e()Lcaz;
      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 Ldcv;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 Ldcv;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 Ldcv;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 Ldcv;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 Ldcv;a(Lgx;)Ldcv;
      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;