Package net.minecraft.world.biome
Class GenerationSettings
java.lang.Object
net.minecraft.world.biome.GenerationSettings
public class GenerationSettings extends Object
- Mappings:
Namespace Name official buv
intermediary net/minecraft/class_5485
named net/minecraft/world/biome/GenerationSettings
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GenerationSettings.Builder
-
Field Summary
Fields Modifier and Type Field Description private Map<GenerationStep.Carver,List<Supplier<ConfiguredCarver<?>>>>
carvers
static com.mojang.serialization.MapCodec<GenerationSettings>
CODEC
private List<List<Supplier<ConfiguredFeature<?,?>>>>
features
private List<ConfiguredFeature<?,?>>
flowerFeatures
static GenerationSettings
INSTANCE
static Logger
LOGGER
private List<Supplier<ConfiguredStructureFeature<?,?>>>
structureFeatures
private Supplier<ConfiguredSurfaceBuilder<?>>
surfaceBuilder
-
Constructor Summary
Constructors Modifier Constructor Description private
GenerationSettings(Supplier<ConfiguredSurfaceBuilder<?>> surfaceBuilder, Map<GenerationStep.Carver,List<Supplier<ConfiguredCarver<?>>>> carvers, List<List<Supplier<ConfiguredFeature<?,?>>>> features, List<Supplier<ConfiguredStructureFeature<?,?>>> structureFeatures)
-
Method Summary
Modifier and Type Method Description List<Supplier<ConfiguredCarver<?>>>
getCarversForStep(GenerationStep.Carver carverStep)
List<List<Supplier<ConfiguredFeature<?,?>>>>
getFeatures()
Returns the lists of features configured for eachfeature generation step
, up to the highest step that has a configured feature.List<ConfiguredFeature<?,?>>
getFlowerFeatures()
Collection<Supplier<ConfiguredStructureFeature<?,?>>>
getStructureFeatures()
Supplier<ConfiguredSurfaceBuilder<?>>
getSurfaceBuilder()
SurfaceConfig
getSurfaceConfig()
boolean
hasStructureFeature(StructureFeature<?> structureFeature)
ConfiguredStructureFeature<?,?>
method_30978(ConfiguredStructureFeature<?,?> configuredStructureFeature)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Lbuv;a:Lorg/apache/logging/log4j/Logger;
intermediary field_26638
Lnet/minecraft/class_5485;field_26638:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/world/biome/GenerationSettings;LOGGER:Lorg/apache/logging/log4j/Logger;
-
INSTANCE
- Mappings:
Namespace Name Mixin selector official b
Lbuv;b:Lbuv;
intermediary field_26639
Lnet/minecraft/class_5485;field_26639:Lnet/minecraft/class_5485;
named INSTANCE
Lnet/minecraft/world/biome/GenerationSettings;INSTANCE:Lnet/minecraft/world/biome/GenerationSettings;
-
CODEC
- Mappings:
Namespace Name Mixin selector official c
Lbuv;c:Lcom/mojang/serialization/MapCodec;
intermediary field_26413
Lnet/minecraft/class_5485;field_26413:Lcom/mojang/serialization/MapCodec;
named CODEC
Lnet/minecraft/world/biome/GenerationSettings;CODEC:Lcom/mojang/serialization/MapCodec;
-
surfaceBuilder
- Mappings:
Namespace Name Mixin selector official d
Lbuv;d:Ljava/util/function/Supplier;
intermediary field_26414
Lnet/minecraft/class_5485;field_26414:Ljava/util/function/Supplier;
named surfaceBuilder
Lnet/minecraft/world/biome/GenerationSettings;surfaceBuilder:Ljava/util/function/Supplier;
-
carvers
- Mappings:
Namespace Name Mixin selector official e
Lbuv;e:Ljava/util/Map;
intermediary field_26415
Lnet/minecraft/class_5485;field_26415:Ljava/util/Map;
named carvers
Lnet/minecraft/world/biome/GenerationSettings;carvers:Ljava/util/Map;
-
features
- Mappings:
Namespace Name Mixin selector official f
Lbuv;f:Ljava/util/List;
intermediary field_26416
Lnet/minecraft/class_5485;field_26416:Ljava/util/List;
named features
Lnet/minecraft/world/biome/GenerationSettings;features:Ljava/util/List;
-
structureFeatures
- Mappings:
Namespace Name Mixin selector official g
Lbuv;g:Ljava/util/List;
intermediary field_26417
Lnet/minecraft/class_5485;field_26417:Ljava/util/List;
named structureFeatures
Lnet/minecraft/world/biome/GenerationSettings;structureFeatures:Ljava/util/List;
-
flowerFeatures
- Mappings:
Namespace Name Mixin selector official h
Lbuv;h:Ljava/util/List;
intermediary field_26640
Lnet/minecraft/class_5485;field_26640:Ljava/util/List;
named flowerFeatures
Lnet/minecraft/world/biome/GenerationSettings;flowerFeatures:Ljava/util/List;
-
-
Constructor Details
-
GenerationSettings
private GenerationSettings(Supplier<ConfiguredSurfaceBuilder<?>> surfaceBuilder, Map<GenerationStep.Carver,List<Supplier<ConfiguredCarver<?>>>> carvers, List<List<Supplier<ConfiguredFeature<?,?>>>> features, List<Supplier<ConfiguredStructureFeature<?,?>>> structureFeatures)- Mappings:
Namespace Name Mixin selector official <init>
Lbuv;<init>(Ljava/util/function/Supplier;Ljava/util/Map;Ljava/util/List;Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_5485;<init>(Ljava/util/function/Supplier;Ljava/util/Map;Ljava/util/List;Ljava/util/List;)V
named <init>
Lnet/minecraft/world/biome/GenerationSettings;<init>(Ljava/util/function/Supplier;Ljava/util/Map;Ljava/util/List;Ljava/util/List;)V
-
-
Method Details
-
getCarversForStep
- Mappings:
Namespace Name Mixin selector official a
Lbuv;a(Lcmi$a;)Ljava/util/List;
intermediary method_30976
Lnet/minecraft/class_5485;method_30976(Lnet/minecraft/class_2893$class_2894;)Ljava/util/List;
named getCarversForStep
Lnet/minecraft/world/biome/GenerationSettings;getCarversForStep(Lnet/minecraft/world/gen/GenerationStep$Carver;)Ljava/util/List;
-
hasStructureFeature
- Mappings:
Namespace Name Mixin selector official a
Lbuv;a(Lcqj;)Z
intermediary method_30980
Lnet/minecraft/class_5485;method_30980(Lnet/minecraft/class_3195;)Z
named hasStructureFeature
Lnet/minecraft/world/biome/GenerationSettings;hasStructureFeature(Lnet/minecraft/world/gen/feature/StructureFeature;)Z
-
getStructureFeatures
- Mappings:
Namespace Name Mixin selector official a
Lbuv;a()Ljava/util/Collection;
intermediary method_30975
Lnet/minecraft/class_5485;method_30975()Ljava/util/Collection;
named getStructureFeatures
Lnet/minecraft/world/biome/GenerationSettings;getStructureFeatures()Ljava/util/Collection;
-
method_30978
public ConfiguredStructureFeature<?,?> method_30978(ConfiguredStructureFeature<?,?> configuredStructureFeature)- Mappings:
Namespace Name Mixin selector official a
Lbuv;a(Lcny;)Lcny;
intermediary method_30978
Lnet/minecraft/class_5485;method_30978(Lnet/minecraft/class_5312;)Lnet/minecraft/class_5312;
named method_30978
Lnet/minecraft/world/biome/GenerationSettings;method_30978(Lnet/minecraft/world/gen/feature/ConfiguredStructureFeature;)Lnet/minecraft/world/gen/feature/ConfiguredStructureFeature;
-
getFlowerFeatures
- Mappings:
Namespace Name Mixin selector official b
Lbuv;b()Ljava/util/List;
intermediary method_30982
Lnet/minecraft/class_5485;method_30982()Ljava/util/List;
named getFlowerFeatures
Lnet/minecraft/world/biome/GenerationSettings;getFlowerFeatures()Ljava/util/List;
-
getFeatures
Returns the lists of features configured for eachfeature generation step
, up to the highest step that has a configured feature. Entries are guaranteed to not be null, but may be empty lists if an earlier step has no features, but a later step does.- Mappings:
Namespace Name Mixin selector official c
Lbuv;c()Ljava/util/List;
intermediary method_30983
Lnet/minecraft/class_5485;method_30983()Ljava/util/List;
named getFeatures
Lnet/minecraft/world/biome/GenerationSettings;getFeatures()Ljava/util/List;
-
getSurfaceBuilder
- Mappings:
Namespace Name Mixin selector official d
Lbuv;d()Ljava/util/function/Supplier;
intermediary method_30984
Lnet/minecraft/class_5485;method_30984()Ljava/util/function/Supplier;
named getSurfaceBuilder
Lnet/minecraft/world/biome/GenerationSettings;getSurfaceBuilder()Ljava/util/function/Supplier;
-
getSurfaceConfig
- Mappings:
Namespace Name Mixin selector official e
Lbuv;e()Lczi;
intermediary method_30985
Lnet/minecraft/class_5485;method_30985()Lnet/minecraft/class_3531;
named getSurfaceConfig
Lnet/minecraft/world/biome/GenerationSettings;getSurfaceConfig()Lnet/minecraft/world/gen/surfacebuilder/SurfaceConfig;
-