Package net.minecraft.world.gen.chunk
Class FlatChunkGeneratorConfig
java.lang.Object
net.minecraft.world.gen.chunk.FlatChunkGeneratorConfig
- Mappings:
Namespace Name official dps
intermediary net/minecraft/class_3232
named net/minecraft/world/gen/chunk/FlatChunkGeneratorConfig
-
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 official b
Ldps;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
- Mappings:
Namespace Name Mixin selector official a
Ldps;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
- Mappings:
Namespace Name Mixin selector official c
Ldps;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
- Mappings:
Namespace Name Mixin selector official d
Ldps;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
- Mappings:
Namespace Name Mixin selector official e
Ldps;e:Lhd;
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
- Mappings:
Namespace Name Mixin selector official f
Ldps;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
Ldps;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
Ldps;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
Ldps;i:Z
intermediary field_24977
Lnet/minecraft/class_3232;field_24977:Z
named hasLakes
Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;hasLakes:Z
-
features
- Mappings:
Namespace Name Mixin selector official j
Ldps;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>
Ldps;<init>(Ljava/util/Optional;Ljava/util/List;ZZLjava/util/Optional;Lhd$c;Lhd;Lhd;)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>
Ldps;<init>(Ljava/util/Optional;Lhd;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
Ldps;a(Ldps;)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
Ldps;a(Ljava/util/Optional;Lhd;)Lhd;
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
public FlatChunkGeneratorConfig with(List<FlatChunkGeneratorLayer> layers, Optional<RegistryEntryList<StructureSet>> structureOverrides, RegistryEntry<Biome> biome) - Mappings:
Namespace Name Mixin selector official a
Ldps;a(Ljava/util/List;Ljava/util/Optional;Lhd;)Ldps;
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
Ldps;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
Ldps;b()V
intermediary method_28916
Lnet/minecraft/class_3232;method_28916()V
named enableLakes
Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;enableLakes()V
-
createGenerationSettings
- Mappings:
Namespace Name Mixin selector official a
Ldps;a(Lhd;)Lcng;
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
- Mappings:
Namespace Name Mixin selector official c
Ldps;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
- Mappings:
Namespace Name Mixin selector official d
Ldps;d()Lhd;
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
- Mappings:
Namespace Name Mixin selector official e
Ldps;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
- Mappings:
Namespace Name Mixin selector official f
Ldps;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
Ldps;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
Ldps;a(Lhe;Lhe;Lhe;)Ldps;
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
- Mappings:
Namespace Name Mixin selector official a
Ldps;a(Lhe;)Lhd;
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
Ldps;b(Lhe;)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;
-