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