public static class TreeFeatureConfig.Builder extends Object
Modifier and Type | Field and Description |
---|---|
private List<TreeDecorator> |
decorators |
private FoliagePlacer |
foliagePlacer |
private Heightmap.Type |
heightmap |
private boolean |
ignoreVines |
BlockStateProvider |
leavesProvider |
private int |
maxWaterDepth |
private FeatureSize |
minimumSize |
private TrunkPlacer |
trunkPlacer |
BlockStateProvider |
trunkProvider |
Constructor and Description |
---|
Builder(BlockStateProvider trunkProvider,
BlockStateProvider leavesProvider,
FoliagePlacer foliagePlacer,
TrunkPlacer trunkPlacer,
FeatureSize minimumSize) |
Modifier and Type | Method and Description |
---|---|
TreeFeatureConfig |
build() |
TreeFeatureConfig.Builder |
decorators(List<TreeDecorator> decorators) |
TreeFeatureConfig.Builder |
heightmap(Heightmap.Type heightmap) |
TreeFeatureConfig.Builder |
ignoreVines() |
TreeFeatureConfig.Builder |
maxWaterDepth(int maxWaterDepth) |
public final BlockStateProvider trunkProvider
public final BlockStateProvider leavesProvider
private final FoliagePlacer foliagePlacer
private final TrunkPlacer trunkPlacer
private final FeatureSize minimumSize
private List<TreeDecorator> decorators
private int maxWaterDepth
private boolean ignoreVines
private Heightmap.Type heightmap
public Builder(BlockStateProvider trunkProvider, BlockStateProvider leavesProvider, FoliagePlacer foliagePlacer, TrunkPlacer trunkPlacer, FeatureSize minimumSize)
public TreeFeatureConfig.Builder decorators(List<TreeDecorator> decorators)
public TreeFeatureConfig.Builder maxWaterDepth(int maxWaterDepth)
public TreeFeatureConfig.Builder ignoreVines()
public TreeFeatureConfig.Builder heightmap(Heightmap.Type heightmap)
public TreeFeatureConfig build()