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
official crz
intermediary net/minecraft/class_3141
named net/minecraft/world/gen/feature/RandomFeatureConfig
  • Field Details

    • CODEC

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

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

      public final Supplier<ConfiguredFeature<?,​?>> defaultFeature
      Mappings:
      Namespace Name Mixin selector
      official c Lcrz;c:Ljava/util/function/Supplier;
      intermediary field_13745 Lnet/minecraft/class_3141;field_13745:Ljava/util/function/Supplier;
      named defaultFeature Lnet/minecraft/world/gen/feature/RandomFeatureConfig;defaultFeature:Ljava/util/function/Supplier;
  • Constructor Details

    • RandomFeatureConfig

      public RandomFeatureConfig​(List<RandomFeatureEntry> features, ConfiguredFeature<?,​?> defaultFeature)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcrz;<init>(Ljava/util/List;Lcnx;)V
      intermediary <init> Lnet/minecraft/class_3141;<init>(Ljava/util/List;Lnet/minecraft/class_2975;)V
      named <init> Lnet/minecraft/world/gen/feature/RandomFeatureConfig;<init>(Ljava/util/List;Lnet/minecraft/world/gen/feature/ConfiguredFeature;)V
    • RandomFeatureConfig

      private RandomFeatureConfig​(List<RandomFeatureEntry> features, Supplier<ConfiguredFeature<?,​?>> defaultFeature)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcrz;<init>(Ljava/util/List;Ljava/util/function/Supplier;)V
      intermediary <init> Lnet/minecraft/class_3141;<init>(Ljava/util/List;Ljava/util/function/Supplier;)V
      named <init> Lnet/minecraft/world/gen/feature/RandomFeatureConfig;<init>(Ljava/util/List;Ljava/util/function/Supplier;)V
  • Method Details

    • method_30649

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