Package net.minecraft.world.gen.chunk
Class FlatChunkGeneratorConfig
java.lang.Object
net.minecraft.world.gen.chunk.FlatChunkGeneratorConfig
- Mappings:
Namespace Name official djf
intermediary net/minecraft/class_3232
named net/minecraft/world/gen/chunk/FlatChunkGeneratorConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate RegistryEntry<Biome>
static final com.mojang.serialization.Codec<FlatChunkGeneratorConfig>
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
ConstructorsModifierConstructorDescriptionFlatChunkGeneratorConfig
(Optional<RegistryEntryList<StructureSet>> structureOverrides, Registry<Biome> biomeRegistry) private
FlatChunkGeneratorConfig
(Registry<Biome> biomeRegistry, Optional<RegistryEntryList<StructureSet>> structureOverrides, List<FlatChunkGeneratorLayer> layers, boolean hasLakes, boolean hasFeatures, Optional<RegistryEntry<Biome>> biome) -
Method Summary
Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.DataResult<FlatChunkGeneratorConfig>
checkHeight
(FlatChunkGeneratorConfig config) createGenerationSettings
(RegistryEntry<Biome> biomeEntry) void
void
getBiome()
static FlatChunkGeneratorConfig
getDefaultConfig
(Registry<Biome> biomeRegistry, Registry<StructureSet> structureSetRegistry) void
setBiome
(RegistryEntry<Biome> biome) void
withLayers
(List<FlatChunkGeneratorLayer> layers, Optional<RegistryEntryList<StructureSet>> structureOverrides)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official b
Ldjf;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
Ldjf;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;
-
biomeRegistry
- Mappings:
Namespace Name Mixin selector official c
Ldjf;c:Lhm;
intermediary field_26748
Lnet/minecraft/class_3232;field_26748:Lnet/minecraft/class_2378;
named biomeRegistry
Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;biomeRegistry:Lnet/minecraft/util/registry/Registry;
-
structureOverrides
- Mappings:
Namespace Name Mixin selector official d
Ldjf;d: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 e
Ldjf;e: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 f
Ldjf;f:Lhc;
intermediary field_14081
Lnet/minecraft/class_3232;field_14081:Lnet/minecraft/class_6880;
named biome
Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;biome:Lnet/minecraft/util/registry/RegistryEntry;
-
layerBlocks
- Mappings:
Namespace Name Mixin selector official g
Ldjf;g: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 h
Ldjf;h: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 i
Ldjf;i: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 j
Ldjf;j:Z
intermediary field_24977
Lnet/minecraft/class_3232;field_24977:Z
named hasLakes
Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;hasLakes:Z
-
-
Constructor Details
-
FlatChunkGeneratorConfig
private FlatChunkGeneratorConfig(Registry<Biome> biomeRegistry, Optional<RegistryEntryList<StructureSet>> structureOverrides, List<FlatChunkGeneratorLayer> layers, boolean hasLakes, boolean hasFeatures, Optional<RegistryEntry<Biome>> biome) - Mappings:
Namespace Name Mixin selector official <init>
Ldjf;<init>(Lhm;Ljava/util/Optional;Ljava/util/List;ZZLjava/util/Optional;)V
intermediary <init>
Lnet/minecraft/class_3232;<init>(Lnet/minecraft/class_2378;Ljava/util/Optional;Ljava/util/List;ZZLjava/util/Optional;)V
named <init>
Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;<init>(Lnet/minecraft/util/registry/Registry;Ljava/util/Optional;Ljava/util/List;ZZLjava/util/Optional;)V
-
FlatChunkGeneratorConfig
public FlatChunkGeneratorConfig(Optional<RegistryEntryList<StructureSet>> structureOverrides, Registry<Biome> biomeRegistry) - Mappings:
Namespace Name Mixin selector official <init>
Ldjf;<init>(Ljava/util/Optional;Lhm;)V
intermediary <init>
Lnet/minecraft/class_3232;<init>(Ljava/util/Optional;Lnet/minecraft/class_2378;)V
named <init>
Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;<init>(Ljava/util/Optional;Lnet/minecraft/util/registry/Registry;)V
-
-
Method Details
-
checkHeight
private static com.mojang.serialization.DataResult<FlatChunkGeneratorConfig> checkHeight(FlatChunkGeneratorConfig config) - Mappings:
Namespace Name Mixin selector official a
Ldjf;a(Ldjf;)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;
-
withLayers
public FlatChunkGeneratorConfig withLayers(List<FlatChunkGeneratorLayer> layers, Optional<RegistryEntryList<StructureSet>> structureOverrides) - Mappings:
Namespace Name Mixin selector official a
Ldjf;a(Ljava/util/List;Ljava/util/Optional;)Ldjf;
intermediary method_29965
Lnet/minecraft/class_3232;method_29965(Ljava/util/List;Ljava/util/Optional;)Lnet/minecraft/class_3232;
named withLayers
Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;withLayers(Ljava/util/List;Ljava/util/Optional;)Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;
-
enableFeatures
public void enableFeatures()- Mappings:
Namespace Name Mixin selector official a
Ldjf;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
Ldjf;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
Ldjf;a(Lhc;)Lchu;
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/util/registry/RegistryEntry;)Lnet/minecraft/world/biome/GenerationSettings;
-
getStructureOverrides
- Mappings:
Namespace Name Mixin selector official c
Ldjf;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
Ldjf;d()Lhc;
intermediary method_14326
Lnet/minecraft/class_3232;method_14326()Lnet/minecraft/class_6880;
named getBiome
Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;getBiome()Lnet/minecraft/util/registry/RegistryEntry;
-
setBiome
- Mappings:
Namespace Name Mixin selector official b
Ldjf;b(Lhc;)V
intermediary method_14325
Lnet/minecraft/class_3232;method_14325(Lnet/minecraft/class_6880;)V
named setBiome
Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;setBiome(Lnet/minecraft/util/registry/RegistryEntry;)V
-
getLayers
- Mappings:
Namespace Name Mixin selector official e
Ldjf;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
Ldjf;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
Ldjf;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(Registry<Biome> biomeRegistry, Registry<StructureSet> structureSetRegistry) - Mappings:
Namespace Name Mixin selector official a
Ldjf;a(Lhm;Lhm;)Ldjf;
intermediary method_14309
Lnet/minecraft/class_3232;method_14309(Lnet/minecraft/class_2378;Lnet/minecraft/class_2378;)Lnet/minecraft/class_3232;
named getDefaultConfig
Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;getDefaultConfig(Lnet/minecraft/util/registry/Registry;Lnet/minecraft/util/registry/Registry;)Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;
-