Class RandomBooleanFeatureConfiguration
java.lang.Object
net.minecraft.world.level.levelgen.feature.configurations.RandomBooleanFeatureConfiguration
- All Implemented Interfaces:
FeatureConfiguration
-
Field Summary
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<RandomBooleanFeatureConfiguration>
Supplier<ConfiguredFeature<?,?>>
Supplier<ConfiguredFeature<?,?>>
Fields inherited from interface net.minecraft.world.level.levelgen.feature.configurations.FeatureConfiguration
NONE
-
Constructor Summary
ConstructorDescriptionRandomBooleanFeatureConfiguration(Supplier<ConfiguredFeature<?,?>> p_67872_, Supplier<ConfiguredFeature<?,?>> p_67873_)
-
Method Summary
-
Field Details
-
CODEC
-
featureTrue
-
featureFalse
-
-
Constructor Details
-
RandomBooleanFeatureConfiguration
public RandomBooleanFeatureConfiguration(Supplier<ConfiguredFeature<?,?>> p_67872_, Supplier<ConfiguredFeature<?,?>> p_67873_)
-
-
Method Details
-
getFeatures
- Specified by:
getFeatures
in interfaceFeatureConfiguration
-