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/FlatChunkGeneratorConfigintermediary net/minecraft/class_3232official eht
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RegistryEntry<Biome> static final com.mojang.serialization.Codec<FlatChunkGeneratorConfig> private final List<RegistryEntry<PlacedFeature>> private booleanprivate booleanprivate booleanprivate final List<BlockState> private final List<FlatChunkGeneratorLayer> private static final Loggerprivate final Optional<RegistryEntryList<StructureSet>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateFlatChunkGeneratorConfig(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) voidvoidgetBiome()private static RegistryEntry<Biome> getBiome(Optional<? extends RegistryEntry<Biome>> biome, RegistryEntry<Biome> fallback) static FlatChunkGeneratorConfiggetDefaultConfig(RegistryEntryLookup<Biome> biomeLookup, RegistryEntryLookup<StructureSet> structureSetLookup, RegistryEntryLookup<PlacedFeature> featureLookup) static List<RegistryEntry<PlacedFeature>> getLavaLakes(RegistryEntryLookup<PlacedFeature> featureLookup) static RegistryEntry<Biome> getPlains(RegistryEntryLookup<Biome> biomeLookup) voidwith(List<FlatChunkGeneratorLayer> layers, Optional<RegistryEntryList<StructureSet>> structureOverrides, RegistryEntry<Biome> biome)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;LOGGER:Lorg/slf4j/Logger;intermediary field_14064Lnet/minecraft/class_3232;field_14064:Lorg/slf4j/Logger;official bLeht;b:Lorg/slf4j/Logger;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;CODEC:Lcom/mojang/serialization/Codec;intermediary field_24975Lnet/minecraft/class_3232;field_24975:Lcom/mojang/serialization/Codec;official aLeht;a:Lcom/mojang/serialization/Codec;
-
structureOverrides
- Mappings:
Namespace Name Mixin selector named structureOverridesLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;structureOverrides:Ljava/util/Optional;intermediary field_37145Lnet/minecraft/class_3232;field_37145:Ljava/util/Optional;official cLeht;c:Ljava/util/Optional;
-
layers
- Mappings:
Namespace Name Mixin selector named layersLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;layers:Ljava/util/List;intermediary field_14072Lnet/minecraft/class_3232;field_14072:Ljava/util/List;official dLeht;d:Ljava/util/List;
-
biome
- Mappings:
Namespace Name Mixin selector named biomeLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;biome:Lnet/minecraft/registry/entry/RegistryEntry;intermediary field_14081Lnet/minecraft/class_3232;field_14081:Lnet/minecraft/class_6880;official eLeht;e:Ljm;
-
layerBlocks
- Mappings:
Namespace Name Mixin selector named layerBlocksLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;layerBlocks:Ljava/util/List;intermediary field_14082Lnet/minecraft/class_3232;field_14082:Ljava/util/List;official fLeht;f:Ljava/util/List;
-
hasNoTerrain
private boolean hasNoTerrain- Mappings:
Namespace Name Mixin selector named hasNoTerrainLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;hasNoTerrain:Zintermediary field_14077Lnet/minecraft/class_3232;field_14077:Zofficial gLeht;g:Z
-
hasFeatures
private boolean hasFeatures- Mappings:
Namespace Name Mixin selector named hasFeaturesLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;hasFeatures:Zintermediary field_24976Lnet/minecraft/class_3232;field_24976:Zofficial hLeht;h:Z
-
hasLakes
private boolean hasLakes- Mappings:
Namespace Name Mixin selector named hasLakesLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;hasLakes:Zintermediary field_24977Lnet/minecraft/class_3232;field_24977:Zofficial iLeht;i:Z
-
features
- Mappings:
Namespace Name Mixin selector named featuresLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;features:Ljava/util/List;intermediary field_40918Lnet/minecraft/class_3232;field_40918:Ljava/util/List;official jLeht;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;)Vintermediary <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;)Vofficial <init>Leht;<init>(Ljava/util/Optional;Ljava/util/List;ZZLjava/util/Optional;Ljm$c;Ljm;Ljm;)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;)Vintermediary <init>Lnet/minecraft/class_3232;<init>(Ljava/util/Optional;Lnet/minecraft/class_6880;Ljava/util/List;)Vofficial <init>Leht;<init>(Ljava/util/Optional;Ljm;Ljava/util/List;)V
-
-
Method Details
-
checkHeight
private static com.mojang.serialization.DataResult<FlatChunkGeneratorConfig> checkHeight(FlatChunkGeneratorConfig config) - Mappings:
Namespace Name Mixin selector named checkHeightLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;checkHeight(Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;)Lcom/mojang/serialization/DataResult;intermediary method_33067Lnet/minecraft/class_3232;method_33067(Lnet/minecraft/class_3232;)Lcom/mojang/serialization/DataResult;official aLeht;a(Leht;)Lcom/mojang/serialization/DataResult;
-
getBiome
private static RegistryEntry<Biome> getBiome(Optional<? extends RegistryEntry<Biome>> biome, RegistryEntry<Biome> fallback) - Mappings:
Namespace Name Mixin selector named getBiomeLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;getBiome(Ljava/util/Optional;Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/registry/entry/RegistryEntry;intermediary method_46728Lnet/minecraft/class_3232;method_46728(Ljava/util/Optional;Lnet/minecraft/class_6880;)Lnet/minecraft/class_6880;official aLeht;a(Ljava/util/Optional;Ljm;)Ljm;
-
with
public FlatChunkGeneratorConfig with(List<FlatChunkGeneratorLayer> layers, Optional<RegistryEntryList<StructureSet>> structureOverrides, RegistryEntry<Biome> biome) - Mappings:
Namespace Name Mixin selector named withLnet/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_46727Lnet/minecraft/class_3232;method_46727(Ljava/util/List;Ljava/util/Optional;Lnet/minecraft/class_6880;)Lnet/minecraft/class_3232;official aLeht;a(Ljava/util/List;Ljava/util/Optional;Ljm;)Leht;
-
enableFeatures
public void enableFeatures()- Mappings:
Namespace Name Mixin selector named enableFeaturesLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;enableFeatures()Vintermediary method_28911Lnet/minecraft/class_3232;method_28911()Vofficial aLeht;a()V
-
enableLakes
public void enableLakes()- Mappings:
Namespace Name Mixin selector named enableLakesLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;enableLakes()Vintermediary method_28916Lnet/minecraft/class_3232;method_28916()Vofficial bLeht;b()V
-
createGenerationSettings
- Mappings:
Namespace Name Mixin selector named createGenerationSettingsLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;createGenerationSettings(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/world/biome/GenerationSettings;intermediary method_44225Lnet/minecraft/class_3232;method_44225(Lnet/minecraft/class_6880;)Lnet/minecraft/class_5485;official aLeht;a(Ljm;)Lddx;
-
getStructureOverrides
- Mappings:
Namespace Name Mixin selector named getStructureOverridesLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;getStructureOverrides()Ljava/util/Optional;intermediary method_41139Lnet/minecraft/class_3232;method_41139()Ljava/util/Optional;official cLeht;c()Ljava/util/Optional;
-
getBiome
- Mappings:
Namespace Name Mixin selector named getBiomeLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;getBiome()Lnet/minecraft/registry/entry/RegistryEntry;intermediary method_14326Lnet/minecraft/class_3232;method_14326()Lnet/minecraft/class_6880;official dLeht;d()Ljm;
-
getLayers
- Mappings:
Namespace Name Mixin selector named getLayersLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;getLayers()Ljava/util/List;intermediary method_14327Lnet/minecraft/class_3232;method_14327()Ljava/util/List;official eLeht;e()Ljava/util/List;
-
getLayerBlocks
- Mappings:
Namespace Name Mixin selector named getLayerBlocksLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;getLayerBlocks()Ljava/util/List;intermediary method_14312Lnet/minecraft/class_3232;method_14312()Ljava/util/List;official fLeht;f()Ljava/util/List;
-
updateLayerBlocks
public void updateLayerBlocks()- Mappings:
Namespace Name Mixin selector named updateLayerBlocksLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;updateLayerBlocks()Vintermediary method_14330Lnet/minecraft/class_3232;method_14330()Vofficial gLeht;g()V
-
getDefaultConfig
public static FlatChunkGeneratorConfig getDefaultConfig(RegistryEntryLookup<Biome> biomeLookup, RegistryEntryLookup<StructureSet> structureSetLookup, RegistryEntryLookup<PlacedFeature> featureLookup) - Mappings:
Namespace Name Mixin selector named getDefaultConfigLnet/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_14309Lnet/minecraft/class_3232;method_14309(Lnet/minecraft/class_7871;Lnet/minecraft/class_7871;Lnet/minecraft/class_7871;)Lnet/minecraft/class_3232;official aLeht;a(Ljn;Ljn;Ljn;)Leht;
-
getPlains
- Mappings:
Namespace Name Mixin selector named getPlainsLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;getPlains(Lnet/minecraft/registry/RegistryEntryLookup;)Lnet/minecraft/registry/entry/RegistryEntry;intermediary method_46726Lnet/minecraft/class_3232;method_46726(Lnet/minecraft/class_7871;)Lnet/minecraft/class_6880;official aLeht;a(Ljn;)Ljm;
-
getLavaLakes
public static List<RegistryEntry<PlacedFeature>> getLavaLakes(RegistryEntryLookup<PlacedFeature> featureLookup) - Mappings:
Namespace Name Mixin selector named getLavaLakesLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;getLavaLakes(Lnet/minecraft/registry/RegistryEntryLookup;)Ljava/util/List;intermediary method_46729Lnet/minecraft/class_3232;method_46729(Lnet/minecraft/class_7871;)Ljava/util/List;official bLeht;b(Ljn;)Ljava/util/List;
-