public class ProbabilityConfig extends java.lang.Object implements ICarverConfig, IFeatureConfig
Modifier and Type | Field and Description |
---|---|
float |
probability |
field_214644_a
NO_FEATURE_CONFIG
Constructor and Description |
---|
ProbabilityConfig(float probability) |
Modifier and Type | Method and Description |
---|---|
static <T> ProbabilityConfig |
deserialize(com.mojang.datafixers.Dynamic<T> p_214645_0_) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize
in interface IFeatureConfig
public static <T> ProbabilityConfig deserialize(com.mojang.datafixers.Dynamic<T> p_214645_0_)