public class OreFeatureConfig extends Object implements FeatureConfig
Modifier and Type | Class and Description |
---|---|
static class |
OreFeatureConfig.Target |
Modifier and Type | Field and Description |
---|---|
int |
size |
BlockState |
state |
OreFeatureConfig.Target |
target |
DEFAULT
Constructor and Description |
---|
OreFeatureConfig(OreFeatureConfig.Target target,
BlockState state,
int size) |
Modifier and Type | Method and Description |
---|---|
static OreFeatureConfig |
deserialize(com.mojang.datafixers.Dynamic<?> dynamic) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
public final OreFeatureConfig.Target target
public final int size
public final BlockState state
public OreFeatureConfig(OreFeatureConfig.Target target, BlockState state, int size)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize
in interface FeatureConfig
public static OreFeatureConfig deserialize(com.mojang.datafixers.Dynamic<?> dynamic)