public class DeltaFeatureConfig extends Object implements FeatureConfig
Modifier and Type | Class and Description |
---|---|
static class |
DeltaFeatureConfig.Builder |
Modifier and Type | Field and Description |
---|---|
BlockState |
contents |
int |
maxRadius |
int |
maxRim |
int |
minRadius |
BlockState |
rim |
DEFAULT
Constructor and Description |
---|
DeltaFeatureConfig(BlockState contents,
BlockState rim,
int minRadius,
int maxRadius,
int maxRim) |
Modifier and Type | Method and Description |
---|---|
static <T> DeltaFeatureConfig |
deserialize(com.mojang.datafixers.Dynamic<T> dynamic) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
public final BlockState contents
public final BlockState rim
public final int minRadius
public final int maxRadius
public final int maxRim
public DeltaFeatureConfig(BlockState contents, BlockState rim, int minRadius, int maxRadius, int maxRim)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize
in interface FeatureConfig
public static <T> DeltaFeatureConfig deserialize(com.mojang.datafixers.Dynamic<T> dynamic)