Package net.minecraft.world.gen.feature
Class DecoratedFeatureConfig
- java.lang.Object
-
- net.minecraft.world.gen.feature.DecoratedFeatureConfig
-
- All Implemented Interfaces:
IFeatureConfig
public class DecoratedFeatureConfig extends java.lang.Object implements IFeatureConfig
-
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<DecoratedFeatureConfig>
CODEC
ConfiguredPlacement<?>
decorator
java.util.function.Supplier<ConfiguredFeature<?,?>>
feature
-
Fields inherited from interface net.minecraft.world.gen.feature.IFeatureConfig
NONE
-
-
Constructor Summary
Constructors Constructor Description DecoratedFeatureConfig(java.util.function.Supplier<ConfiguredFeature<?,?>> p_i241984_1_, ConfiguredPlacement<?> p_i241984_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.stream.Stream<ConfiguredFeature<?,?>>
getFeatures()
java.lang.String
toString()
-
-
-
Field Detail
-
CODEC
public static final com.mojang.serialization.Codec<DecoratedFeatureConfig> CODEC
-
feature
public final java.util.function.Supplier<ConfiguredFeature<?,?>> feature
-
decorator
public final ConfiguredPlacement<?> decorator
-
-
Constructor Detail
-
DecoratedFeatureConfig
public DecoratedFeatureConfig(java.util.function.Supplier<ConfiguredFeature<?,?>> p_i241984_1_, ConfiguredPlacement<?> p_i241984_2_)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getFeatures
public java.util.stream.Stream<ConfiguredFeature<?,?>> getFeatures()
- Specified by:
getFeatures
in interfaceIFeatureConfig
-
-