Package net.minecraft.world.gen.feature
Class MultipleRandomFeatureConfig
- java.lang.Object
-
- net.minecraft.world.gen.feature.MultipleRandomFeatureConfig
-
- All Implemented Interfaces:
IFeatureConfig
public class MultipleRandomFeatureConfig extends java.lang.Object implements IFeatureConfig
-
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<MultipleRandomFeatureConfig>
CODEC
java.util.function.Supplier<ConfiguredFeature<?,?>>
defaultFeature
java.util.List<ConfiguredRandomFeatureList>
features
-
Fields inherited from interface net.minecraft.world.gen.feature.IFeatureConfig
NONE
-
-
Constructor Summary
Constructors Modifier Constructor Description private
MultipleRandomFeatureConfig(java.util.List<ConfiguredRandomFeatureList> p_i241991_1_, java.util.function.Supplier<ConfiguredFeature<?,?>> p_i241991_2_)
MultipleRandomFeatureConfig(java.util.List<ConfiguredRandomFeatureList> p_i51455_1_, ConfiguredFeature<?,?> p_i51455_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.stream.Stream<ConfiguredFeature<?,?>>
getFeatures()
-
-
-
Field Detail
-
CODEC
public static final com.mojang.serialization.Codec<MultipleRandomFeatureConfig> CODEC
-
features
public final java.util.List<ConfiguredRandomFeatureList> features
-
defaultFeature
public final java.util.function.Supplier<ConfiguredFeature<?,?>> defaultFeature
-
-
Constructor Detail
-
MultipleRandomFeatureConfig
public MultipleRandomFeatureConfig(java.util.List<ConfiguredRandomFeatureList> p_i51455_1_, ConfiguredFeature<?,?> p_i51455_2_)
-
MultipleRandomFeatureConfig
private MultipleRandomFeatureConfig(java.util.List<ConfiguredRandomFeatureList> p_i241991_1_, java.util.function.Supplier<ConfiguredFeature<?,?>> p_i241991_2_)
-
-
Method Detail
-
getFeatures
public java.util.stream.Stream<ConfiguredFeature<?,?>> getFeatures()
- Specified by:
getFeatures
in interfaceIFeatureConfig
-
-