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