Class TreeConfiguration.TreeConfigurationBuilder
java.lang.Object
net.minecraft.world.level.levelgen.feature.configurations.TreeConfiguration.TreeConfigurationBuilder
- Enclosing class:
- TreeConfiguration
-
Field Summary
Modifier and TypeFieldDescriptionprivate List<TreeDecorator>
private BlockStateProvider
private final FoliagePlacer
final BlockStateProvider
private boolean
private boolean
private final FeatureSize
private final Optional<RootPlacer>
private final TrunkPlacer
final BlockStateProvider
-
Constructor Summary
ConstructorDescriptionTreeConfigurationBuilder
(BlockStateProvider p_225481_, TrunkPlacer p_225482_, BlockStateProvider p_225483_, FoliagePlacer p_225484_, Optional<RootPlacer> p_225485_, FeatureSize p_225486_) TreeConfigurationBuilder
(BlockStateProvider p_191359_, TrunkPlacer p_191360_, BlockStateProvider p_191361_, FoliagePlacer p_191362_, FeatureSize p_191363_) -
Method Summary
Modifier and TypeMethodDescriptionbuild()
decorators
(List<TreeDecorator> p_68250_) dirt
(BlockStateProvider p_161261_)
-
Field Details
-
trunkProvider
-
trunkPlacer
-
foliageProvider
-
foliagePlacer
-
rootPlacer
-
dirtProvider
-
minimumSize
-
decorators
-
ignoreVines
private boolean ignoreVines -
forceDirt
private boolean forceDirt
-
-
Constructor Details
-
TreeConfigurationBuilder
public TreeConfigurationBuilder(BlockStateProvider p_225481_, TrunkPlacer p_225482_, BlockStateProvider p_225483_, FoliagePlacer p_225484_, Optional<RootPlacer> p_225485_, FeatureSize p_225486_) -
TreeConfigurationBuilder
public TreeConfigurationBuilder(BlockStateProvider p_191359_, TrunkPlacer p_191360_, BlockStateProvider p_191361_, FoliagePlacer p_191362_, FeatureSize p_191363_)
-
-
Method Details
-
dirt
-
decorators
-
ignoreVines
-
forceDirt
-
build
-