Package net.minecraft.world.gen.feature
Class BaseTreeFeatureConfig.Builder
- java.lang.Object
-
- net.minecraft.world.gen.feature.BaseTreeFeatureConfig.Builder
-
- Enclosing class:
- BaseTreeFeatureConfig
public static class BaseTreeFeatureConfig.Builder extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<TreeDecorator>
decorators
private FoliagePlacer
foliagePlacer
private Heightmap.Type
heightmap
private boolean
ignoreVines
BlockStateProvider
leavesProvider
private int
maxWaterDepth
private AbstractFeatureSizeType
minimumSize
private AbstractTrunkPlacer
trunkPlacer
BlockStateProvider
trunkProvider
-
Constructor Summary
Constructors Constructor Description Builder(BlockStateProvider p_i232021_1_, BlockStateProvider p_i232021_2_, FoliagePlacer p_i232021_3_, AbstractTrunkPlacer p_i232021_4_, AbstractFeatureSizeType p_i232021_5_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseTreeFeatureConfig
build()
BaseTreeFeatureConfig.Builder
decorators(java.util.List<TreeDecorator> p_236703_1_)
BaseTreeFeatureConfig.Builder
heightmap(Heightmap.Type p_236702_1_)
BaseTreeFeatureConfig.Builder
ignoreVines()
BaseTreeFeatureConfig.Builder
maxWaterDepth(int p_236701_1_)
-
-
-
Field Detail
-
trunkProvider
public final BlockStateProvider trunkProvider
-
leavesProvider
public final BlockStateProvider leavesProvider
-
foliagePlacer
private final FoliagePlacer foliagePlacer
-
trunkPlacer
private final AbstractTrunkPlacer trunkPlacer
-
minimumSize
private final AbstractFeatureSizeType minimumSize
-
decorators
private java.util.List<TreeDecorator> decorators
-
maxWaterDepth
private int maxWaterDepth
-
ignoreVines
private boolean ignoreVines
-
heightmap
private Heightmap.Type heightmap
-
-
Constructor Detail
-
Builder
public Builder(BlockStateProvider p_i232021_1_, BlockStateProvider p_i232021_2_, FoliagePlacer p_i232021_3_, AbstractTrunkPlacer p_i232021_4_, AbstractFeatureSizeType p_i232021_5_)
-
-
Method Detail
-
decorators
public BaseTreeFeatureConfig.Builder decorators(java.util.List<TreeDecorator> p_236703_1_)
-
maxWaterDepth
public BaseTreeFeatureConfig.Builder maxWaterDepth(int p_236701_1_)
-
ignoreVines
public BaseTreeFeatureConfig.Builder ignoreVines()
-
heightmap
public BaseTreeFeatureConfig.Builder heightmap(Heightmap.Type p_236702_1_)
-
build
public BaseTreeFeatureConfig build()
-
-