public class DecoratedFeatureConfig extends java.lang.Object implements IFeatureConfig
| Modifier and Type | Field and Description |
|---|---|
ConfiguredPlacement<?> |
decorator |
ConfiguredFeature<?,?> |
feature |
NO_FEATURE_CONFIG| Constructor and Description |
|---|
DecoratedFeatureConfig(ConfiguredFeature<?,?> feature,
ConfiguredPlacement<?> decorator) |
| Modifier and Type | Method and Description |
|---|---|
static <T> DecoratedFeatureConfig |
deserialize(com.mojang.datafixers.Dynamic<T> p_214688_0_) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
java.lang.String |
toString() |
public final ConfiguredFeature<?,?> feature
public final ConfiguredPlacement<?> decorator
public DecoratedFeatureConfig(ConfiguredFeature<?,?> feature, ConfiguredPlacement<?> decorator)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize in interface IFeatureConfigpublic java.lang.String toString()
toString in class java.lang.Objectpublic static <T> DecoratedFeatureConfig deserialize(com.mojang.datafixers.Dynamic<T> p_214688_0_)