Package net.minecraft.world.gen.feature
Class RandomFeatureConfig
java.lang.Object
net.minecraft.world.gen.feature.RandomFeatureConfig
- All Implemented Interfaces:
FeatureConfig
public class RandomFeatureConfig extends Object implements FeatureConfig
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<RandomFeatureConfig>
CODEC
Supplier<ConfiguredFeature<?,?>>
defaultFeature
List<RandomFeatureEntry>
features
Fields inherited from interface net.minecraft.world.gen.feature.FeatureConfig
DEFAULT
-
Constructor Summary
Constructors Modifier Constructor Description private
RandomFeatureConfig(List<RandomFeatureEntry> features, Supplier<ConfiguredFeature<?,?>> defaultFeature)
RandomFeatureConfig(List<RandomFeatureEntry> features, ConfiguredFeature<?,?> defaultFeature)
-
Method Summary
Modifier and Type Method Description Stream<ConfiguredFeature<?,?>>
method_30649()
-
Field Details
-
CODEC
-
features
-
defaultFeature
-
-
Constructor Details
-
RandomFeatureConfig
public RandomFeatureConfig(List<RandomFeatureEntry> features, ConfiguredFeature<?,?> defaultFeature) -
RandomFeatureConfig
private RandomFeatureConfig(List<RandomFeatureEntry> features, Supplier<ConfiguredFeature<?,?>> defaultFeature)
-
-
Method Details
-
method_30649
- Specified by:
method_30649
in interfaceFeatureConfig
-