Class RandomFeatureConfig

java.lang.Object
net.minecraft.world.gen.feature.RandomFeatureConfig
All Implemented Interfaces:
FeatureConfig

public class RandomFeatureConfig extends Object implements FeatureConfig
Mappings:
Namespace Name
named net/minecraft/world/gen/feature/RandomFeatureConfig
intermediary net/minecraft/class_3141
official ejl
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<RandomFeatureConfig> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/world/gen/feature/RandomFeatureConfig;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_24901 Lnet/minecraft/class_3141;field_24901:Lcom/mojang/serialization/Codec;
      official a Lejl;a:Lcom/mojang/serialization/Codec;
    • features

      public final List<RandomFeatureEntry> features
      Mappings:
      Namespace Name Mixin selector
      named features Lnet/minecraft/world/gen/feature/RandomFeatureConfig;features:Ljava/util/List;
      intermediary field_13744 Lnet/minecraft/class_3141;field_13744:Ljava/util/List;
      official b Lejl;b:Ljava/util/List;
    • defaultFeature

      public final RegistryEntry<PlacedFeature> defaultFeature
      Mappings:
      Namespace Name Mixin selector
      named defaultFeature Lnet/minecraft/world/gen/feature/RandomFeatureConfig;defaultFeature:Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary field_13745 Lnet/minecraft/class_3141;field_13745:Lnet/minecraft/class_6880;
      official c Lejl;c:Ljq;
  • Constructor Details

    • RandomFeatureConfig

      public RandomFeatureConfig(List<RandomFeatureEntry> features, RegistryEntry<PlacedFeature> defaultFeature)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/feature/RandomFeatureConfig;<init>(Ljava/util/List;Lnet/minecraft/registry/entry/RegistryEntry;)V
      intermediary <init> Lnet/minecraft/class_3141;<init>(Ljava/util/List;Lnet/minecraft/class_6880;)V
      official <init> Lejl;<init>(Ljava/util/List;Ljq;)V
  • Method Details

    • getDecoratedFeatures

      public Stream<ConfiguredFeature<?,?>> getDecoratedFeatures()
      Specified by:
      getDecoratedFeatures in interface FeatureConfig
      Mappings:
      Namespace Name Mixin selector
      named getDecoratedFeatures Lnet/minecraft/world/gen/feature/FeatureConfig;getDecoratedFeatures()Ljava/util/stream/Stream;
      intermediary method_30649 Lnet/minecraft/class_3037;method_30649()Ljava/util/stream/Stream;
      official e Leiz;e()Ljava/util/stream/Stream;