public class DiskFeatureConfig extends Object implements FeatureConfig
Modifier and Type | Field and Description |
---|---|
int |
radius |
BlockState |
state |
List<BlockState> |
targets |
int |
ySize |
DEFAULT
Constructor and Description |
---|
DiskFeatureConfig(BlockState state,
int radius,
int ySize,
List<BlockState> targets) |
Modifier and Type | Method and Description |
---|---|
static <T> DiskFeatureConfig |
deserialize(com.mojang.datafixers.Dynamic<T> dynamic) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
public final BlockState state
public final int radius
public final int ySize
public final List<BlockState> targets
public DiskFeatureConfig(BlockState state, int radius, int ySize, List<BlockState> targets)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize
in interface FeatureConfig
public static <T> DiskFeatureConfig deserialize(com.mojang.datafixers.Dynamic<T> dynamic)