Class RandomFeatureConfiguration
java.lang.Object
net.minecraft.world.level.levelgen.feature.configurations.RandomFeatureConfiguration
- All Implemented Interfaces:
FeatureConfiguration
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<RandomFeatureConfiguration> final Holder
<PlacedFeature> final List
<WeightedPlacedFeature> Fields inherited from interface net.minecraft.world.level.levelgen.feature.configurations.FeatureConfiguration
NONE
-
Constructor Summary
ConstructorDescriptionRandomFeatureConfiguration
(List<WeightedPlacedFeature> p_204811_, Holder<PlacedFeature> p_204812_) -
Method Summary
-
Field Details
-
CODEC
-
features
-
defaultFeature
-
-
Constructor Details
-
RandomFeatureConfiguration
public RandomFeatureConfiguration(List<WeightedPlacedFeature> p_204811_, Holder<PlacedFeature> p_204812_)
-
-
Method Details
-
getFeatures
- Specified by:
getFeatures
in interfaceFeatureConfiguration
-