public class BuriedTreasureConfig extends java.lang.Object implements IFeatureConfig
Modifier and Type | Field and Description |
---|---|
float |
probability |
NO_FEATURE_CONFIG
Constructor and Description |
---|
BuriedTreasureConfig(float probability) |
Modifier and Type | Method and Description |
---|---|
static <T> BuriedTreasureConfig |
deserialize(com.mojang.datafixers.Dynamic<T> p_214684_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> BuriedTreasureConfig deserialize(com.mojang.datafixers.Dynamic<T> p_214684_0_)