Class GenerationSettings

java.lang.Object
net.minecraft.world.biome.GenerationSettings

public class GenerationSettings extends Object
Mappings:
Namespace Name
named net/minecraft/world/biome/GenerationSettings
intermediary net/minecraft/class_5485
official ddh
  • Field Details

    • LOGGER

      private static final Logger 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 Lddh;c:Lorg/slf4j/Logger;
    • INSTANCE

      public static final GenerationSettings 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 Lddh;a:Lddh;
    • CODEC

      public static final com.mojang.serialization.MapCodec<GenerationSettings> 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 Lddh;b:Lcom/mojang/serialization/MapCodec;
    • carvers

      Mappings:
      Namespace Name Mixin selector
      named carvers Lnet/minecraft/world/biome/GenerationSettings;carvers:Ljava/util/Map;
      intermediary field_26415 Lnet/minecraft/class_5485;field_26415:Ljava/util/Map;
      official d Lddh;d:Ljava/util/Map;
    • features

      private final List<RegistryEntryList<PlacedFeature>> 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 Lddh;e:Ljava/util/List;
    • flowerFeatures

      private final Supplier<List<ConfiguredFeature<?,?>>> 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 Lddh;f:Ljava/util/function/Supplier;
    • allowedFeatures

      private final Supplier<Set<PlacedFeature>> 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 Lddh;g:Ljava/util/function/Supplier;
  • Constructor Details

  • Method Details

    • getCarversForStep

      public Iterable<RegistryEntry<ConfiguredCarver<?>>> getCarversForStep(GenerationStep.Carver carverStep)
      Mappings:
      Namespace Name Mixin selector
      named getCarversForStep Lnet/minecraft/world/biome/GenerationSettings;getCarversForStep(Lnet/minecraft/world/gen/GenerationStep$Carver;)Ljava/lang/Iterable;
      intermediary method_30976 Lnet/minecraft/class_5485;method_30976(Lnet/minecraft/class_2893$class_2894;)Ljava/lang/Iterable;
      official a Lddh;a(Ldyc$a;)Ljava/lang/Iterable;
    • getFlowerFeatures

      public List<ConfiguredFeature<?,?>> 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 a Lddh;a()Ljava/util/List;
    • getFeatures

      public List<RegistryEntryList<PlacedFeature>> getFeatures()
      Returns the lists of features configured for each feature 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 b Lddh;b()Ljava/util/List;
    • isFeatureAllowed

      public boolean isFeatureAllowed(PlacedFeature feature)
      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 Lddh;a(Leib;)Z