Package net.minecraft.world.biome
Class GenerationSettings
java.lang.Object
net.minecraft.world.biome.GenerationSettings
- Mappings:
Namespace Name official cat
intermediary net/minecraft/class_5485
named net/minecraft/world/biome/GenerationSettings
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Set<PlacedFeature>
private final Map<GenerationStep.Carver,
List<Supplier<ConfiguredCarver<?>>>> static final com.mojang.serialization.MapCodec<GenerationSettings>
private final List<List<Supplier<PlacedFeature>>>
private final List<ConfiguredFeature<?,
?>> static final GenerationSettings
static final Logger
-
Constructor Summary
ConstructorDescriptionGenerationSettings
(Map<GenerationStep.Carver, List<Supplier<ConfiguredCarver<?>>>> map, List<List<Supplier<PlacedFeature>>> list) -
Method Summary
Modifier and TypeMethodDescriptionList<Supplier<ConfiguredCarver<?>>>
getCarversForStep
(GenerationStep.Carver carverStep) Returns the lists of features configured for eachfeature generation step
, up to the highest step that has a configured feature.List<ConfiguredFeature<?,
?>> boolean
isFeatureAllowed
(PlacedFeature placedFeature)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Lcat;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
Lcat;b:Lcat;
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
Lcat;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;
-
carvers
- Mappings:
Namespace Name Mixin selector official d
Lcat;d: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 e
Lcat;e: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;
-
flowerFeatures
- Mappings:
Namespace Name Mixin selector official f
Lcat;f: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;
-
allowedFeatures
- Mappings:
Namespace Name Mixin selector official g
Lcat;g:Ljava/util/Set;
intermediary field_34465
Lnet/minecraft/class_5485;field_34465:Ljava/util/Set;
named allowedFeatures
Lnet/minecraft/world/biome/GenerationSettings;allowedFeatures:Ljava/util/Set;
-
-
Constructor Details
-
GenerationSettings
GenerationSettings(Map<GenerationStep.Carver, List<Supplier<ConfiguredCarver<?>>>> map, List<List<Supplier<PlacedFeature>>> list)
-
-
Method Details
-
getCarversForStep
- Mappings:
Namespace Name Mixin selector official a
Lcat;a(Lcsq$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;
-
getFlowerFeatures
- Mappings:
Namespace Name Mixin selector official a
Lcat;a()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 b
Lcat;b()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;
-
isFeatureAllowed
- Mappings:
Namespace Name Mixin selector official a
Lcat;a(Lddm;)Z
intermediary method_38105
Lnet/minecraft/class_5485;method_38105(Lnet/minecraft/class_6796;)Z
named isFeatureAllowed
Lnet/minecraft/world/biome/GenerationSettings;isFeatureAllowed(Lnet/minecraft/world/gen/feature/PlacedFeature;)Z
-