public class FeatureRadiusConfig extends java.lang.Object implements IFeatureConfig
Modifier and Type | Field and Description |
---|---|
int |
radius |
NO_FEATURE_CONFIG
Constructor and Description |
---|
FeatureRadiusConfig(int radius) |
Modifier and Type | Method and Description |
---|---|
static <T> FeatureRadiusConfig |
deserialize(com.mojang.datafixers.Dynamic<T> p_214706_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> FeatureRadiusConfig deserialize(com.mojang.datafixers.Dynamic<T> p_214706_0_)