public class OceanRuinConfig extends java.lang.Object implements IFeatureConfig
Modifier and Type | Field and Description |
---|---|
float |
clusterProbability |
OceanRuinStructure.Type |
field_204031_a |
float |
largeProbability |
NO_FEATURE_CONFIG
Constructor and Description |
---|
OceanRuinConfig(OceanRuinStructure.Type p_i48866_1_,
float largeProbability,
float clusterProbability) |
Modifier and Type | Method and Description |
---|---|
static <T> OceanRuinConfig |
deserialize(com.mojang.datafixers.Dynamic<T> p_214640_0_) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
public final OceanRuinStructure.Type field_204031_a
public final float largeProbability
public final float clusterProbability
public OceanRuinConfig(OceanRuinStructure.Type p_i48866_1_, float largeProbability, float clusterProbability)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize
in interface IFeatureConfig
public static <T> OceanRuinConfig deserialize(com.mojang.datafixers.Dynamic<T> p_214640_0_)