public class SeaGrassConfig extends java.lang.Object implements IFeatureConfig
Modifier and Type | Field and Description |
---|---|
int |
count |
double |
tallProbability |
NO_FEATURE_CONFIG
Constructor and Description |
---|
SeaGrassConfig(int count,
double tallProbability) |
Modifier and Type | Method and Description |
---|---|
static <T> SeaGrassConfig |
deserialize(com.mojang.datafixers.Dynamic<T> p_214659_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> SeaGrassConfig deserialize(com.mojang.datafixers.Dynamic<T> p_214659_0_)