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(Feature<?>[] p_i48670_1_,
IFeatureConfig[] p_i48670_2_,
int p_i48670_3_) |
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 MultipleWithChanceRandomFeatureConfig(Feature<?>[] p_i48670_1_, IFeatureConfig[] p_i48670_2_, int p_i48670_3_)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize
in interface IFeatureConfig
public static <T> MultipleWithChanceRandomFeatureConfig deserialize(com.mojang.datafixers.Dynamic<T> p_214653_0_)