public class BlockPileFeatureConfig extends Object implements FeatureConfig
Modifier and Type | Field and Description |
---|---|
BlockStateProvider |
stateProvider |
DEFAULT
Constructor and Description |
---|
BlockPileFeatureConfig(BlockStateProvider blockStateProvider) |
Modifier and Type | Method and Description |
---|---|
static <T> BlockPileFeatureConfig |
deserialize(com.mojang.datafixers.Dynamic<T> dynamic) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
public final BlockStateProvider stateProvider
public BlockPileFeatureConfig(BlockStateProvider blockStateProvider)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize
in interface FeatureConfig
public static <T> BlockPileFeatureConfig deserialize(com.mojang.datafixers.Dynamic<T> dynamic)