public static class BranchedTreeFeatureConfig.Builder extends TreeFeatureConfig.Builder
Modifier and Type | Field and Description |
---|---|
private FoliagePlacer |
foliagePlacer |
private int |
maxFluidDepth |
private boolean |
noVines |
private List<TreeDecorator> |
treeDecorators |
private TrunkPlacer |
trunkPlacer |
leavesProvider, trunkProvider
Constructor and Description |
---|
Builder(BlockStateProvider trunkProvider,
BlockStateProvider leavesProvider,
FoliagePlacer foliagePlacer,
TrunkPlacer trunkPlacer) |
Modifier and Type | Method and Description |
---|---|
BranchedTreeFeatureConfig |
build() |
BranchedTreeFeatureConfig.Builder |
maxFluidDepth(int maxFluidDepth) |
BranchedTreeFeatureConfig.Builder |
noVines() |
BranchedTreeFeatureConfig.Builder |
treeDecorators(List<TreeDecorator> treeDecorators) |
baseHeight
private final FoliagePlacer foliagePlacer
private final TrunkPlacer trunkPlacer
private List<TreeDecorator> treeDecorators
private int maxFluidDepth
private boolean noVines
public Builder(BlockStateProvider trunkProvider, BlockStateProvider leavesProvider, FoliagePlacer foliagePlacer, TrunkPlacer trunkPlacer)
public BranchedTreeFeatureConfig.Builder treeDecorators(List<TreeDecorator> treeDecorators)
public BranchedTreeFeatureConfig.Builder maxFluidDepth(int maxFluidDepth)
public BranchedTreeFeatureConfig.Builder noVines()
public BranchedTreeFeatureConfig build()
build
in class TreeFeatureConfig.Builder