Package net.minecraft.world.biome
Class GenerationSettings
java.lang.Object
net.minecraft.world.biome.GenerationSettings
- Mappings:
Namespace Name named net/minecraft/world/biome/GenerationSettings
intermediary net/minecraft/class_5485
official dik
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Supplier
<Set<PlacedFeature>> private final RegistryEntryList
<ConfiguredCarver<?>> static final com.mojang.serialization.MapCodec
<GenerationSettings> private final List
<RegistryEntryList<PlacedFeature>> private final Supplier
<List<ConfiguredFeature<?, ?>>> static final GenerationSettings
private static final Logger
-
Constructor Summary
ConstructorDescriptionGenerationSettings
(RegistryEntryList<ConfiguredCarver<?>> carvers, List<RegistryEntryList<PlacedFeature>> features) -
Method Summary
Modifier and TypeMethodDescriptionReturns the lists of features configured for eachfeature generation step
, up to the highest step that has a configured feature.List
<ConfiguredFeature<?, ?>> boolean
isFeatureAllowed
(PlacedFeature feature)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/world/biome/GenerationSettings;LOGGER:Lorg/slf4j/Logger;
intermediary field_26638
Lnet/minecraft/class_5485;field_26638:Lorg/slf4j/Logger;
official c
Ldik;c:Lorg/slf4j/Logger;
-
INSTANCE
- Mappings:
Namespace Name Mixin selector named INSTANCE
Lnet/minecraft/world/biome/GenerationSettings;INSTANCE:Lnet/minecraft/world/biome/GenerationSettings;
intermediary field_26639
Lnet/minecraft/class_5485;field_26639:Lnet/minecraft/class_5485;
official a
Ldik;a:Ldik;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/world/biome/GenerationSettings;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_26413
Lnet/minecraft/class_5485;field_26413:Lcom/mojang/serialization/MapCodec;
official b
Ldik;b:Lcom/mojang/serialization/MapCodec;
-
carvers
- Mappings:
Namespace Name Mixin selector named carvers
Lnet/minecraft/world/biome/GenerationSettings;carvers:Lnet/minecraft/registry/entry/RegistryEntryList;
intermediary field_26415
Lnet/minecraft/class_5485;field_26415:Lnet/minecraft/class_6885;
official d
Ldik;d:Lju;
-
features
- Mappings:
Namespace Name Mixin selector named features
Lnet/minecraft/world/biome/GenerationSettings;features:Ljava/util/List;
intermediary field_26416
Lnet/minecraft/class_5485;field_26416:Ljava/util/List;
official e
Ldik;e:Ljava/util/List;
-
flowerFeatures
- Mappings:
Namespace Name Mixin selector named flowerFeatures
Lnet/minecraft/world/biome/GenerationSettings;flowerFeatures:Ljava/util/function/Supplier;
intermediary field_26640
Lnet/minecraft/class_5485;field_26640:Ljava/util/function/Supplier;
official f
Ldik;f:Ljava/util/function/Supplier;
-
allowedFeatures
- Mappings:
Namespace Name Mixin selector named allowedFeatures
Lnet/minecraft/world/biome/GenerationSettings;allowedFeatures:Ljava/util/function/Supplier;
intermediary field_34465
Lnet/minecraft/class_5485;field_34465:Ljava/util/function/Supplier;
official g
Ldik;g:Ljava/util/function/Supplier;
-
-
Constructor Details
-
GenerationSettings
GenerationSettings(RegistryEntryList<ConfiguredCarver<?>> carvers, List<RegistryEntryList<PlacedFeature>> features) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/biome/GenerationSettings;<init>(Lnet/minecraft/registry/entry/RegistryEntryList;Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_5485;<init>(Lnet/minecraft/class_6885;Ljava/util/List;)V
official <init>
Ldik;<init>(Lju;Ljava/util/List;)V
-
-
Method Details
-
getCarversForStep
- Mappings:
Namespace Name Mixin selector named getCarversForStep
Lnet/minecraft/world/biome/GenerationSettings;getCarversForStep()Ljava/lang/Iterable;
intermediary method_30976
Lnet/minecraft/class_5485;method_30976()Ljava/lang/Iterable;
official a
Ldik;a()Ljava/lang/Iterable;
-
getFlowerFeatures
- Mappings:
Namespace Name Mixin selector named getFlowerFeatures
Lnet/minecraft/world/biome/GenerationSettings;getFlowerFeatures()Ljava/util/List;
intermediary method_30982
Lnet/minecraft/class_5485;method_30982()Ljava/util/List;
official b
Ldik;b()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 named getFeatures
Lnet/minecraft/world/biome/GenerationSettings;getFeatures()Ljava/util/List;
intermediary method_30983
Lnet/minecraft/class_5485;method_30983()Ljava/util/List;
official c
Ldik;c()Ljava/util/List;
-
isFeatureAllowed
- Mappings:
Namespace Name Mixin selector named isFeatureAllowed
Lnet/minecraft/world/biome/GenerationSettings;isFeatureAllowed(Lnet/minecraft/world/gen/feature/PlacedFeature;)Z
intermediary method_38105
Lnet/minecraft/class_5485;method_38105(Lnet/minecraft/class_6796;)Z
official a
Ldik;a(Lenn;)Z
-