public class MegaTreeFeatureConfig extends TreeFeatureConfig
Modifier and Type | Class and Description |
---|---|
static class |
MegaTreeFeatureConfig.Builder |
Modifier and Type | Field and Description |
---|---|
int |
crownHeight |
int |
heightInterval |
baseHeight, decorators, leavesProvider, skipFluidCheck, trunkProvider
DEFAULT
Modifier | Constructor and Description |
---|---|
protected |
MegaTreeFeatureConfig(BlockStateProvider trunkProvider,
BlockStateProvider leavesProvider,
List<TreeDecorator> decorators,
int baseHeight,
int heightInterval,
int crownHeight) |
Modifier and Type | Method and Description |
---|---|
static <T> MegaTreeFeatureConfig |
deserialize(com.mojang.datafixers.Dynamic<T> dynamic) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
ignoreFluidCheck
public final int heightInterval
public final int crownHeight
protected MegaTreeFeatureConfig(BlockStateProvider trunkProvider, BlockStateProvider leavesProvider, List<TreeDecorator> decorators, int baseHeight, int heightInterval, int crownHeight)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize
in interface FeatureConfig
serialize
in class TreeFeatureConfig
public static <T> MegaTreeFeatureConfig deserialize(com.mojang.datafixers.Dynamic<T> dynamic)