public static class TreeFeatureConfig.Builder extends Object
Modifier and Type | Field and Description |
---|---|
private int |
baseHeight |
private List<TreeDecorator> |
decorators |
BlockStateProvider |
leavesProvider |
BlockStateProvider |
trunkProvider |
Constructor and Description |
---|
Builder(BlockStateProvider trunkProvider,
BlockStateProvider leavesProvider) |
Modifier and Type | Method and Description |
---|---|
TreeFeatureConfig.Builder |
baseHeight(int baseHeight) |
TreeFeatureConfig |
build() |
public final BlockStateProvider trunkProvider
public final BlockStateProvider leavesProvider
private List<TreeDecorator> decorators
private int baseHeight
public Builder(BlockStateProvider trunkProvider, BlockStateProvider leavesProvider)
public TreeFeatureConfig.Builder baseHeight(int baseHeight)
public TreeFeatureConfig build()