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