Class FlatChunkGeneratorConfig

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

public class FlatChunkGeneratorConfig extends Object
Mappings:
Namespace Name
official dtl
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 Ldtl;b:Lorg/slf4j/Logger;
      intermediary field_14064 Lnet/minecraft/class_3232;field_14064:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;LOGGER:Lorg/slf4j/Logger;
    • CODEC

      public static final com.mojang.serialization.Codec<FlatChunkGeneratorConfig> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldtl;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;
    • structureOverrides

      private final Optional<RegistryEntryList<StructureSet>> structureOverrides
      Mappings:
      Namespace Name Mixin selector
      official c Ldtl;c:Ljava/util/Optional;
      intermediary field_37145 Lnet/minecraft/class_3232;field_37145:Ljava/util/Optional;
      named structureOverrides Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;structureOverrides:Ljava/util/Optional;
    • layers

      private final List<FlatChunkGeneratorLayer> layers
      Mappings:
      Namespace Name Mixin selector
      official d Ldtl;d: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 final RegistryEntry<Biome> biome
      Mappings:
      Namespace Name Mixin selector
      official e Ldtl;e:Lhe;
      intermediary field_14081 Lnet/minecraft/class_3232;field_14081:Lnet/minecraft/class_6880;
      named biome Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;biome:Lnet/minecraft/registry/entry/RegistryEntry;
    • layerBlocks

      private final List<BlockState> layerBlocks
      Mappings:
      Namespace Name Mixin selector
      official f Ldtl;f: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 g Ldtl;g: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 h Ldtl;h: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 i Ldtl;i:Z
      intermediary field_24977 Lnet/minecraft/class_3232;field_24977:Z
      named hasLakes Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;hasLakes:Z
    • features

      private final List<RegistryEntry<PlacedFeature>> features
      Mappings:
      Namespace Name Mixin selector
      official j Ldtl;j:Ljava/util/List;
      intermediary field_40918 Lnet/minecraft/class_3232;field_40918:Ljava/util/List;
      named features Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;features:Ljava/util/List;
  • Constructor Details

    • FlatChunkGeneratorConfig

      private FlatChunkGeneratorConfig(Optional<RegistryEntryList<StructureSet>> structureOverrides, List<FlatChunkGeneratorLayer> layers, boolean lakes, boolean features, Optional<RegistryEntry<Biome>> biome, RegistryEntry.Reference<Biome> fallback, RegistryEntry<PlacedFeature> undergroundLavaLakeFeature, RegistryEntry<PlacedFeature> surfaceLavaLakeFeature)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldtl;<init>(Ljava/util/Optional;Ljava/util/List;ZZLjava/util/Optional;Lhe$c;Lhe;Lhe;)V
      intermediary <init> Lnet/minecraft/class_3232;<init>(Ljava/util/Optional;Ljava/util/List;ZZLjava/util/Optional;Lnet/minecraft/class_6880$class_6883;Lnet/minecraft/class_6880;Lnet/minecraft/class_6880;)V
      named <init> Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;<init>(Ljava/util/Optional;Ljava/util/List;ZZLjava/util/Optional;Lnet/minecraft/registry/entry/RegistryEntry$Reference;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/registry/entry/RegistryEntry;)V
    • FlatChunkGeneratorConfig

      public FlatChunkGeneratorConfig(Optional<RegistryEntryList<StructureSet>> structureOverrides, RegistryEntry<Biome> biome, List<RegistryEntry<PlacedFeature>> features)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldtl;<init>(Ljava/util/Optional;Lhe;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_3232;<init>(Ljava/util/Optional;Lnet/minecraft/class_6880;Ljava/util/List;)V
      named <init> Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;<init>(Ljava/util/Optional;Lnet/minecraft/registry/entry/RegistryEntry;Ljava/util/List;)V
  • Method Details

    • checkHeight

      private static com.mojang.serialization.DataResult<FlatChunkGeneratorConfig> checkHeight(FlatChunkGeneratorConfig config)
      Mappings:
      Namespace Name Mixin selector
      official a Ldtl;a(Ldtl;)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;
    • getBiome

      private static RegistryEntry<Biome> getBiome(Optional<? extends RegistryEntry<Biome>> biome, RegistryEntry<Biome> fallback)
      Mappings:
      Namespace Name Mixin selector
      official a Ldtl;a(Ljava/util/Optional;Lhe;)Lhe;
      intermediary method_46728 Lnet/minecraft/class_3232;method_46728(Ljava/util/Optional;Lnet/minecraft/class_6880;)Lnet/minecraft/class_6880;
      named getBiome Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;getBiome(Ljava/util/Optional;Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/registry/entry/RegistryEntry;
    • with

      Mappings:
      Namespace Name Mixin selector
      official a Ldtl;a(Ljava/util/List;Ljava/util/Optional;Lhe;)Ldtl;
      intermediary method_46727 Lnet/minecraft/class_3232;method_46727(Ljava/util/List;Ljava/util/Optional;Lnet/minecraft/class_6880;)Lnet/minecraft/class_3232;
      named with Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;with(Ljava/util/List;Ljava/util/Optional;Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;
    • enableFeatures

      public void enableFeatures()
      Mappings:
      Namespace Name Mixin selector
      official a Ldtl;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 Ldtl;b()V
      intermediary method_28916 Lnet/minecraft/class_3232;method_28916()V
      named enableLakes Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;enableLakes()V
    • createGenerationSettings

      public GenerationSettings createGenerationSettings(RegistryEntry<Biome> biomeEntry)
      Mappings:
      Namespace Name Mixin selector
      official a Ldtl;a(Lhe;)Lcqu;
      intermediary method_44225 Lnet/minecraft/class_3232;method_44225(Lnet/minecraft/class_6880;)Lnet/minecraft/class_5485;
      named createGenerationSettings Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;createGenerationSettings(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/world/biome/GenerationSettings;
    • getStructureOverrides

      public Optional<RegistryEntryList<StructureSet>> getStructureOverrides()
      Mappings:
      Namespace Name Mixin selector
      official c Ldtl;c()Ljava/util/Optional;
      intermediary method_41139 Lnet/minecraft/class_3232;method_41139()Ljava/util/Optional;
      named getStructureOverrides Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;getStructureOverrides()Ljava/util/Optional;
    • getBiome

      public RegistryEntry<Biome> getBiome()
      Mappings:
      Namespace Name Mixin selector
      official d Ldtl;d()Lhe;
      intermediary method_14326 Lnet/minecraft/class_3232;method_14326()Lnet/minecraft/class_6880;
      named getBiome Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;getBiome()Lnet/minecraft/registry/entry/RegistryEntry;
    • getLayers

      public List<FlatChunkGeneratorLayer> getLayers()
      Mappings:
      Namespace Name Mixin selector
      official e Ldtl;e()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 f Ldtl;f()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 g Ldtl;g()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(RegistryEntryLookup<Biome> biomeLookup, RegistryEntryLookup<StructureSet> structureSetLookup, RegistryEntryLookup<PlacedFeature> featureLookup)
      Mappings:
      Namespace Name Mixin selector
      official a Ldtl;a(Lhf;Lhf;Lhf;)Ldtl;
      intermediary method_14309 Lnet/minecraft/class_3232;method_14309(Lnet/minecraft/class_7871;Lnet/minecraft/class_7871;Lnet/minecraft/class_7871;)Lnet/minecraft/class_3232;
      named getDefaultConfig Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;getDefaultConfig(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/registry/RegistryEntryLookup;)Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;
    • getPlains

      public static RegistryEntry<Biome> getPlains(RegistryEntryLookup<Biome> biomeLookup)
      Mappings:
      Namespace Name Mixin selector
      official a Ldtl;a(Lhf;)Lhe;
      intermediary method_46726 Lnet/minecraft/class_3232;method_46726(Lnet/minecraft/class_7871;)Lnet/minecraft/class_6880;
      named getPlains Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;getPlains(Lnet/minecraft/registry/RegistryEntryLookup;)Lnet/minecraft/registry/entry/RegistryEntry;
    • getLavaLakes

      public static List<RegistryEntry<PlacedFeature>> getLavaLakes(RegistryEntryLookup<PlacedFeature> featureLookup)
      Mappings:
      Namespace Name Mixin selector
      official b Ldtl;b(Lhf;)Ljava/util/List;
      intermediary method_46729 Lnet/minecraft/class_3232;method_46729(Lnet/minecraft/class_7871;)Ljava/util/List;
      named getLavaLakes Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;getLavaLakes(Lnet/minecraft/registry/RegistryEntryLookup;)Ljava/util/List;