Class FlatChunkGeneratorConfig

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

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

    • LOGGER

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

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

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

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

      private final RegistryEntry<Biome> biome
      Mappings:
      Namespace Name Mixin selector
      named biome Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;biome:Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary field_14081 Lnet/minecraft/class_3232;field_14081:Lnet/minecraft/class_6880;
      official e Lego;e:Lji;
    • layerBlocks

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

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

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

      private boolean hasLakes
      Mappings:
      Namespace Name Mixin selector
      named hasLakes Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;hasLakes:Z
      intermediary field_24977 Lnet/minecraft/class_3232;field_24977:Z
      official i Lego;i:Z
    • features

      private final List<RegistryEntry<PlacedFeature>> features
      Mappings:
      Namespace Name Mixin selector
      named features Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;features:Ljava/util/List;
      intermediary field_40918 Lnet/minecraft/class_3232;field_40918:Ljava/util/List;
      official j Lego;j: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
      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
      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
      official <init> Lego;<init>(Ljava/util/Optional;Ljava/util/List;ZZLjava/util/Optional;Lji$c;Lji;Lji;)V
    • FlatChunkGeneratorConfig

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

    • checkHeight

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

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

      Mappings:
      Namespace Name Mixin selector
      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;
      intermediary method_46727 Lnet/minecraft/class_3232;method_46727(Ljava/util/List;Ljava/util/Optional;Lnet/minecraft/class_6880;)Lnet/minecraft/class_3232;
      official a Lego;a(Ljava/util/List;Ljava/util/Optional;Lji;)Lego;
    • enableFeatures

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

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

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

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

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

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

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

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

      public static FlatChunkGeneratorConfig getDefaultConfig(RegistryEntryLookup<Biome> biomeLookup, RegistryEntryLookup<StructureSet> structureSetLookup, RegistryEntryLookup<PlacedFeature> featureLookup)
      Mappings:
      Namespace Name Mixin selector
      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;
      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;
      official a Lego;a(Ljj;Ljj;Ljj;)Lego;
    • getPlains

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

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