public class MultipleRandomFeatureConfig extends java.lang.Object implements IFeatureConfig
Modifier and Type | Field and Description |
---|---|
ConfiguredFeature<?,?> |
defaultFeature |
java.util.List<ConfiguredRandomFeatureList<?>> |
features |
NO_FEATURE_CONFIG
Constructor and Description |
---|
MultipleRandomFeatureConfig(java.util.List<ConfiguredRandomFeatureList<?>> features,
ConfiguredFeature<?,?> defaultFeature) |
Modifier and Type | Method and Description |
---|---|
static <T> MultipleRandomFeatureConfig |
deserialize(com.mojang.datafixers.Dynamic<T> p_214648_0_) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
public final java.util.List<ConfiguredRandomFeatureList<?>> features
public final ConfiguredFeature<?,?> defaultFeature
public MultipleRandomFeatureConfig(java.util.List<ConfiguredRandomFeatureList<?>> features, ConfiguredFeature<?,?> defaultFeature)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize
in interface IFeatureConfig
public static <T> MultipleRandomFeatureConfig deserialize(com.mojang.datafixers.Dynamic<T> p_214648_0_)