public class SimpleRandomFeatureConfig extends Object implements FeatureConfig
Modifier and Type | Field and Description |
---|---|
List<ConfiguredFeature<?,?>> |
features |
DEFAULT
Constructor and Description |
---|
SimpleRandomFeatureConfig(List<ConfiguredFeature<?,?>> features) |
Modifier and Type | Method and Description |
---|---|
static <T> SimpleRandomFeatureConfig |
deserialize(com.mojang.datafixers.Dynamic<T> dynamic) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
public final List<ConfiguredFeature<?,?>> features
public SimpleRandomFeatureConfig(List<ConfiguredFeature<?,?>> features)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize
in interface FeatureConfig
public static <T> SimpleRandomFeatureConfig deserialize(com.mojang.datafixers.Dynamic<T> dynamic)