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