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