Package net.minecraft.world.gen.chunk
Class FlatChunkGeneratorConfig
java.lang.Object
net.minecraft.world.gen.chunk.FlatChunkGeneratorConfig
- Mappings:
Namespace Name named net/minecraft/world/gen/chunk/FlatChunkGeneratorConfig
intermediary net/minecraft/class_3232
official ego
-
Field Summary
Modifier and TypeFieldDescriptionprivate final RegistryEntry
<Biome> static final com.mojang.serialization.Codec
<FlatChunkGeneratorConfig> private final List
<RegistryEntry<PlacedFeature>> private boolean
private boolean
private boolean
private final List
<BlockState> private final List
<FlatChunkGeneratorLayer> private static final Logger
private final Optional
<RegistryEntryList<StructureSet>> -
Constructor Summary
ModifierConstructorDescriptionprivate
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) FlatChunkGeneratorConfig
(Optional<RegistryEntryList<StructureSet>> structureOverrides, RegistryEntry<Biome> biome, List<RegistryEntry<PlacedFeature>> features) -
Method Summary
Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.DataResult
<FlatChunkGeneratorConfig> checkHeight
(FlatChunkGeneratorConfig config) createGenerationSettings
(RegistryEntry<Biome> biomeEntry) void
void
getBiome()
private static RegistryEntry
<Biome> getBiome
(Optional<? extends RegistryEntry<Biome>> biome, RegistryEntry<Biome> fallback) static FlatChunkGeneratorConfig
getDefaultConfig
(RegistryEntryLookup<Biome> biomeLookup, RegistryEntryLookup<StructureSet> structureSetLookup, RegistryEntryLookup<PlacedFeature> featureLookup) static List
<RegistryEntry<PlacedFeature>> getLavaLakes
(RegistryEntryLookup<PlacedFeature> featureLookup) static RegistryEntry
<Biome> getPlains
(RegistryEntryLookup<Biome> biomeLookup) void
with
(List<FlatChunkGeneratorLayer> layers, Optional<RegistryEntryList<StructureSet>> structureOverrides, RegistryEntry<Biome> biome)
-
Field Details
-
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
- 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
- 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
- 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
- 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
- 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
- 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
public FlatChunkGeneratorConfig with(List<FlatChunkGeneratorLayer> layers, Optional<RegistryEntryList<StructureSet>> structureOverrides, RegistryEntry<Biome> biome) - 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
- 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
- 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
- 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
- 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
- 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
- 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;
-