public static class MegaTreeFeatureConfig.Builder extends TreeFeatureConfig.Builder
Modifier and Type | Field and Description |
---|---|
private int |
crownHeight |
private int |
height |
private int |
heightInterval |
private List<TreeDecorator> |
treeDecorators |
leavesProvider, trunkProvider
Constructor and Description |
---|
Builder(BlockStateProvider trunkProvider,
BlockStateProvider leavesProvider) |
Modifier and Type | Method and Description |
---|---|
MegaTreeFeatureConfig.Builder |
baseHeight(int int2) |
MegaTreeFeatureConfig |
build() |
MegaTreeFeatureConfig.Builder |
crownHeight(int crownHeight) |
MegaTreeFeatureConfig.Builder |
heightInterval(int heightInterval) |
MegaTreeFeatureConfig.Builder |
treeDecorators(List<TreeDecorator> decorators) |
private List<TreeDecorator> treeDecorators
private int height
private int heightInterval
private int crownHeight
public Builder(BlockStateProvider trunkProvider, BlockStateProvider leavesProvider)
public MegaTreeFeatureConfig.Builder treeDecorators(List<TreeDecorator> decorators)
public MegaTreeFeatureConfig.Builder baseHeight(int int2)
baseHeight
in class TreeFeatureConfig.Builder
public MegaTreeFeatureConfig.Builder heightInterval(int heightInterval)
public MegaTreeFeatureConfig.Builder crownHeight(int crownHeight)
public MegaTreeFeatureConfig build()
build
in class TreeFeatureConfig.Builder