Package net.minecraft.world.gen.feature
Class SingleRandomFeature
- java.lang.Object
-
- net.minecraft.world.gen.feature.SingleRandomFeature
-
- All Implemented Interfaces:
IFeatureConfig
public class SingleRandomFeature extends java.lang.Object implements IFeatureConfig
-
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<SingleRandomFeature>
CODEC
java.util.List<java.util.function.Supplier<ConfiguredFeature<?,?>>>
features
-
Fields inherited from interface net.minecraft.world.gen.feature.IFeatureConfig
NONE
-
-
Constructor Summary
Constructors Constructor Description SingleRandomFeature(java.util.List<java.util.function.Supplier<ConfiguredFeature<?,?>>> p_i51437_1_)
-
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<SingleRandomFeature> CODEC
-
features
public final java.util.List<java.util.function.Supplier<ConfiguredFeature<?,?>>> features
-
-
Constructor Detail
-
SingleRandomFeature
public SingleRandomFeature(java.util.List<java.util.function.Supplier<ConfiguredFeature<?,?>>> p_i51437_1_)
-
-
Method Detail
-
getFeatures
public java.util.stream.Stream<ConfiguredFeature<?,?>> getFeatures()
- Specified by:
getFeatures
in interfaceIFeatureConfig
-
-