Interface RootSystemConfiguration
- All Superinterfaces:
FeatureConfiguration, Wrapper
A feature that spawns below naturally generated azalea trees.
- Since:
- 3.0.0
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface FeatureConfiguration
NONE -
Method Summary
Modifier and TypeMethodDescriptionThe block predicate used to check if the tree position is valid.intThe amount of vertical water allowed for the placed feature between 1 and 64.builder()Creates a new builder.intThe number of attempts to place the hanging roots between 1 and 256.intThe radius of the hanging roots between 1 and 64.The block to use for the hanging roots.intThe vertical span of the hanging roots between 1 and 16.intThe distance to test for the level of the root system between 0 and 64.intThe maximum level deviation between 1 and 64.static RootSystemConfigurationof(PlacedFeature treeFeature, int requiredVerticalSpaceForTree, int levelTestDistance, int maxLevelDeviation, int rootRadius, TagSet<Material> rootReplaceable, BlockStateProvider rootStateProvider, int rootPlacementAttempts, int rootColumnMaxHeight, int hangingRootRadius, int hangingRootsVerticalSpan, BlockStateProvider hangingRootStateProvider, int hangingRootPlacementAttempts, int allowedVerticalWaterForTree, BlockPredicate allowedTreePosition) Creates a new root system configuration.intThe amount of vertical space for the placed feature between 1 and 64.intThe maximum height of the root column between 1 and 4096.intThe number of attempts to place the root column between 1 and 256.intThe radius of which these roots can spread between 1 and 64.A set of materials which can be replaced by the root system.The block to use for the root column.default RootSystemConfiguration.BuilderConverts this object back to a builder.The placed feature to place on top of the root system.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
treeFeature
The placed feature to place on top of the root system.- Returns:
- the placed feature
- Since:
- 3.0.0
-
requiredVerticalSpaceForTree
The amount of vertical space for the placed feature between 1 and 64.- Returns:
- the vertical space
- Since:
- 3.0.0
-
levelTestDistance
The distance to test for the level of the root system between 0 and 64.- Returns:
- the level test distance
- Since:
- 3.0.0
-
maxLevelDeviation
The maximum level deviation between 1 and 64.- Returns:
- the maximum level deviation
- Since:
- 3.0.0
-
rootRadius
The radius of which these roots can spread between 1 and 64.- Returns:
- the root radius
- Since:
- 3.0.0
-
rootReplaceable
-
rootStateProvider
The block to use for the root column.- Returns:
- the root state provider
- Since:
- 3.0.0
-
rootPlacementAttempts
The number of attempts to place the root column between 1 and 256.- Returns:
- the root placement attempts
- Since:
- 3.0.0
-
rootColumnMaxHeight
The maximum height of the root column between 1 and 4096.- Returns:
- the root column max height
- Since:
- 3.0.0
-
hangingRootRadius
The radius of the hanging roots between 1 and 64.- Returns:
- the hanging root radius
- Since:
- 3.0.0
-
hangingRootsVerticalSpan
The vertical span of the hanging roots between 1 and 16.- Returns:
- the hanging roots vertical span
- Since:
- 3.0.0
-
hangingRootStateProvider
The block to use for the hanging roots.- Returns:
- the hanging root state provider
- Since:
- 3.0.0
-
hangingRootPlacementAttempts
The number of attempts to place the hanging roots between 1 and 256.- Returns:
- the hanging root placement attempts
- Since:
- 3.0.0
-
allowedVerticalWaterForTree
The amount of vertical water allowed for the placed feature between 1 and 64.- Returns:
- the vertical water allowed
- Since:
- 3.0.0
-
allowedTreePosition
The block predicate used to check if the tree position is valid.- Returns:
- the block predicate
- Since:
- 3.0.0
-
toBuilder
Converts this object back to a builder.- Returns:
- a new builder with the same values as this object
- Since:
- 3.0.0
-
of
@AsOf("3.0.0") static RootSystemConfiguration of(PlacedFeature treeFeature, int requiredVerticalSpaceForTree, int levelTestDistance, int maxLevelDeviation, int rootRadius, TagSet<Material> rootReplaceable, BlockStateProvider rootStateProvider, int rootPlacementAttempts, int rootColumnMaxHeight, int hangingRootRadius, int hangingRootsVerticalSpan, BlockStateProvider hangingRootStateProvider, int hangingRootPlacementAttempts, int allowedVerticalWaterForTree, BlockPredicate allowedTreePosition) Creates a new root system configuration.- Parameters:
treeFeature- the placed feature to place on top of the root systemrequiredVerticalSpaceForTree- the amount of vertical space for the placed featurelevelTestDistance- the distance to test for the level of the root systemmaxLevelDeviation- the maximum level deviationrootRadius- the radius of which these roots can spreadrootReplaceable- a tag of materials which can be replaced by the root systemrootStateProvider- the block to use for the root columnrootPlacementAttempts- the number of attempts to place the root columnrootColumnMaxHeight- the maximum height of the root columnhangingRootRadius- the radius of the hanging rootshangingRootsVerticalSpan- the vertical span of the hanging rootshangingRootStateProvider- the block to use for the hanging rootshangingRootPlacementAttempts- the number of attempts to place the hanging rootsallowedVerticalWaterForTree- the amount of vertical water allowed for the placed featureallowedTreePosition- the block predicate used to check if the tree position is valid- Returns:
- a new root system configuration
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-