Package net.minecraft.world.gen.chunk
Class FlatChunkGeneratorConfig
java.lang.Object
net.minecraft.world.gen.chunk.FlatChunkGeneratorConfig
- Mappings:
Namespace Name official dqaintermediary net/minecraft/class_3232named net/minecraft/world/gen/chunk/FlatChunkGeneratorConfig
-
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 official bLdqa;b:Lorg/slf4j/Logger;intermediary field_14064Lnet/minecraft/class_3232;field_14064:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;LOGGER:Lorg/slf4j/Logger;
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLdqa;a:Lcom/mojang/serialization/Codec;intermediary field_24975Lnet/minecraft/class_3232;field_24975:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;CODEC:Lcom/mojang/serialization/Codec;
-
structureOverrides
- Mappings:
Namespace Name Mixin selector official cLdqa;c:Ljava/util/Optional;intermediary field_37145Lnet/minecraft/class_3232;field_37145:Ljava/util/Optional;named structureOverridesLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;structureOverrides:Ljava/util/Optional;
-
layers
- Mappings:
Namespace Name Mixin selector official dLdqa;d:Ljava/util/List;intermediary field_14072Lnet/minecraft/class_3232;field_14072:Ljava/util/List;named layersLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;layers:Ljava/util/List;
-
biome
- Mappings:
Namespace Name Mixin selector official eLdqa;e:Lhe;intermediary field_14081Lnet/minecraft/class_3232;field_14081:Lnet/minecraft/class_6880;named biomeLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;biome:Lnet/minecraft/registry/entry/RegistryEntry;
-
layerBlocks
- Mappings:
Namespace Name Mixin selector official fLdqa;f:Ljava/util/List;intermediary field_14082Lnet/minecraft/class_3232;field_14082:Ljava/util/List;named layerBlocksLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;layerBlocks:Ljava/util/List;
-
hasNoTerrain
private boolean hasNoTerrain- Mappings:
Namespace Name Mixin selector official gLdqa;g:Zintermediary field_14077Lnet/minecraft/class_3232;field_14077:Znamed hasNoTerrainLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;hasNoTerrain:Z
-
hasFeatures
private boolean hasFeatures- Mappings:
Namespace Name Mixin selector official hLdqa;h:Zintermediary field_24976Lnet/minecraft/class_3232;field_24976:Znamed hasFeaturesLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;hasFeatures:Z
-
hasLakes
private boolean hasLakes- Mappings:
Namespace Name Mixin selector official iLdqa;i:Zintermediary field_24977Lnet/minecraft/class_3232;field_24977:Znamed hasLakesLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;hasLakes:Z
-
features
- Mappings:
Namespace Name Mixin selector official jLdqa;j:Ljava/util/List;intermediary field_40918Lnet/minecraft/class_3232;field_40918:Ljava/util/List;named featuresLnet/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>Ldqa;<init>(Ljava/util/Optional;Ljava/util/List;ZZLjava/util/Optional;Lhe$c;Lhe;Lhe;)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;)Vnamed <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>Ldqa;<init>(Ljava/util/Optional;Lhe;Ljava/util/List;)Vintermediary <init>Lnet/minecraft/class_3232;<init>(Ljava/util/Optional;Lnet/minecraft/class_6880;Ljava/util/List;)Vnamed <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 aLdqa;a(Ldqa;)Lcom/mojang/serialization/DataResult;intermediary method_33067Lnet/minecraft/class_3232;method_33067(Lnet/minecraft/class_3232;)Lcom/mojang/serialization/DataResult;named checkHeightLnet/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 aLdqa;a(Ljava/util/Optional;Lhe;)Lhe;intermediary method_46728Lnet/minecraft/class_3232;method_46728(Ljava/util/Optional;Lnet/minecraft/class_6880;)Lnet/minecraft/class_6880;named getBiomeLnet/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 aLdqa;a(Ljava/util/List;Ljava/util/Optional;Lhe;)Ldqa;intermediary method_46727Lnet/minecraft/class_3232;method_46727(Ljava/util/List;Ljava/util/Optional;Lnet/minecraft/class_6880;)Lnet/minecraft/class_3232;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;
-
enableFeatures
public void enableFeatures()- Mappings:
Namespace Name Mixin selector official aLdqa;a()Vintermediary method_28911Lnet/minecraft/class_3232;method_28911()Vnamed enableFeaturesLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;enableFeatures()V
-
enableLakes
public void enableLakes()- Mappings:
Namespace Name Mixin selector official bLdqa;b()Vintermediary method_28916Lnet/minecraft/class_3232;method_28916()Vnamed enableLakesLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;enableLakes()V
-
createGenerationSettings
- Mappings:
Namespace Name Mixin selector official aLdqa;a(Lhe;)Lcnj;intermediary method_44225Lnet/minecraft/class_3232;method_44225(Lnet/minecraft/class_6880;)Lnet/minecraft/class_5485;named createGenerationSettingsLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;createGenerationSettings(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/world/biome/GenerationSettings;
-
getStructureOverrides
- Mappings:
Namespace Name Mixin selector official cLdqa;c()Ljava/util/Optional;intermediary method_41139Lnet/minecraft/class_3232;method_41139()Ljava/util/Optional;named getStructureOverridesLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;getStructureOverrides()Ljava/util/Optional;
-
getBiome
- Mappings:
Namespace Name Mixin selector official dLdqa;d()Lhe;intermediary method_14326Lnet/minecraft/class_3232;method_14326()Lnet/minecraft/class_6880;named getBiomeLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;getBiome()Lnet/minecraft/registry/entry/RegistryEntry;
-
getLayers
- Mappings:
Namespace Name Mixin selector official eLdqa;e()Ljava/util/List;intermediary method_14327Lnet/minecraft/class_3232;method_14327()Ljava/util/List;named getLayersLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;getLayers()Ljava/util/List;
-
getLayerBlocks
- Mappings:
Namespace Name Mixin selector official fLdqa;f()Ljava/util/List;intermediary method_14312Lnet/minecraft/class_3232;method_14312()Ljava/util/List;named getLayerBlocksLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;getLayerBlocks()Ljava/util/List;
-
updateLayerBlocks
public void updateLayerBlocks()- Mappings:
Namespace Name Mixin selector official gLdqa;g()Vintermediary method_14330Lnet/minecraft/class_3232;method_14330()Vnamed updateLayerBlocksLnet/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 aLdqa;a(Lhf;Lhf;Lhf;)Ldqa;intermediary method_14309Lnet/minecraft/class_3232;method_14309(Lnet/minecraft/class_7871;Lnet/minecraft/class_7871;Lnet/minecraft/class_7871;)Lnet/minecraft/class_3232;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;
-
getPlains
- Mappings:
Namespace Name Mixin selector official aLdqa;a(Lhf;)Lhe;intermediary method_46726Lnet/minecraft/class_3232;method_46726(Lnet/minecraft/class_7871;)Lnet/minecraft/class_6880;named getPlainsLnet/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 bLdqa;b(Lhf;)Ljava/util/List;intermediary method_46729Lnet/minecraft/class_3232;method_46729(Lnet/minecraft/class_7871;)Ljava/util/List;named getLavaLakesLnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;getLavaLakes(Lnet/minecraft/registry/RegistryEntryLookup;)Ljava/util/List;
-