public static class BaseTreeFeatureConfig.Builder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
baseHeight |
private java.util.List<TreeDecorator> |
decorators |
BlockStateProvider |
leavesProvider |
protected IPlantable |
sapling |
BlockStateProvider |
trunkProvider |
Constructor and Description |
---|
Builder(BlockStateProvider trunkProviderIn,
BlockStateProvider leavesProviderIn) |
Modifier and Type | Method and Description |
---|---|
BaseTreeFeatureConfig.Builder |
baseHeight(int baseHeightIn) |
BaseTreeFeatureConfig |
build() |
BaseTreeFeatureConfig.Builder |
setSapling(IPlantable value) |
public final BlockStateProvider trunkProvider
public final BlockStateProvider leavesProvider
private java.util.List<TreeDecorator> decorators
private int baseHeight
protected IPlantable sapling
public Builder(BlockStateProvider trunkProviderIn, BlockStateProvider leavesProviderIn)
public BaseTreeFeatureConfig.Builder baseHeight(int baseHeightIn)
public BaseTreeFeatureConfig.Builder setSapling(IPlantable value)
public BaseTreeFeatureConfig build()