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 emm
  • 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 Lemm;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 Lemm;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 Lemm;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 Lemm;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 Lemm;e:Ljq;
    • 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 Lemm;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 Lemm;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 Lemm;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 Lemm;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 Lemm;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> Lemm;<init>(Ljava/util/Optional;Ljava/util/List;ZZLjava/util/Optional;Ljq$c;Ljq;Ljq;)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> Lemm;<init>(Ljava/util/Optional;Ljq;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 Lemm;a(Lemm;)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 Lemm;a(Ljava/util/Optional;Ljq;)Ljq;
    • 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 Lemm;a(Ljava/util/List;Ljava/util/Optional;Ljq;)Lemm;
    • 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 Lemm;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 Lemm;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 Lemm;a(Ljq;)Ldik;
    • 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 Lemm;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 Lemm;d()Ljq;
    • 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 Lemm;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 Lemm;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 Lemm;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 Lemm;a(Ljr;Ljr;Ljr;)Lemm;
    • 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 Lemm;a(Ljr;)Ljq;
    • 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 Lemm;b(Ljr;)Ljava/util/List;