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, trunkProviderDEFAULT| 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) |
ignoreFluidCheckpublic 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 FeatureConfigserialize in class TreeFeatureConfigpublic static <T> MegaTreeFeatureConfig deserialize(com.mojang.datafixers.Dynamic<T> dynamic)