Interface RootSystemConfiguration

All Superinterfaces:
FeatureConfiguration, Wrapper

@NullMarked @AsOf("3.0.0") public interface RootSystemConfiguration extends FeatureConfiguration
A feature that spawns below naturally generated azalea trees.
Since:
3.0.0
See Also:
  • Method Details

    • treeFeature

      @AsOf("3.0.0") PlacedFeature treeFeature()
      The placed feature to place on top of the root system.
      Returns:
      the placed feature
      Since:
      3.0.0
    • requiredVerticalSpaceForTree

      @AsOf("3.0.0") int requiredVerticalSpaceForTree()
      The amount of vertical space for the placed feature between 1 and 64.
      Returns:
      the vertical space
      Since:
      3.0.0
    • levelTestDistance

      @AsOf("3.0.0") int 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

      @AsOf("3.0.0") int maxLevelDeviation()
      The maximum level deviation between 1 and 64.
      Returns:
      the maximum level deviation
      Since:
      3.0.0
    • rootRadius

      @AsOf("3.0.0") int rootRadius()
      The radius of which these roots can spread between 1 and 64.
      Returns:
      the root radius
      Since:
      3.0.0
    • rootReplaceable

      @AsOf("3.1.0") TagSet<Material> rootReplaceable()
      A set of materials which can be replaced by the root system.
      Returns:
      the root replaceable materials
      Since:
      3.1.0
    • rootStateProvider

      @AsOf("3.0.0") BlockStateProvider rootStateProvider()
      The block to use for the root column.
      Returns:
      the root state provider
      Since:
      3.0.0
    • rootPlacementAttempts

      @AsOf("3.0.0") int rootPlacementAttempts()
      The number of attempts to place the root column between 1 and 256.
      Returns:
      the root placement attempts
      Since:
      3.0.0
    • rootColumnMaxHeight

      @AsOf("3.0.0") int rootColumnMaxHeight()
      The maximum height of the root column between 1 and 4096.
      Returns:
      the root column max height
      Since:
      3.0.0
    • hangingRootRadius

      @AsOf("3.0.0") int hangingRootRadius()
      The radius of the hanging roots between 1 and 64.
      Returns:
      the hanging root radius
      Since:
      3.0.0
    • hangingRootsVerticalSpan

      @AsOf("3.0.0") int hangingRootsVerticalSpan()
      The vertical span of the hanging roots between 1 and 16.
      Returns:
      the hanging roots vertical span
      Since:
      3.0.0
    • hangingRootStateProvider

      @AsOf("3.0.0") BlockStateProvider hangingRootStateProvider()
      The block to use for the hanging roots.
      Returns:
      the hanging root state provider
      Since:
      3.0.0
    • hangingRootPlacementAttempts

      @AsOf("3.0.0") int 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

      @AsOf("3.0.0") int 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

      @AsOf("3.0.0") BlockPredicate allowedTreePosition()
      The block predicate used to check if the tree position is valid.
      Returns:
      the block predicate
      Since:
      3.0.0
    • toBuilder

      @AsOf("3.0.0") default RootSystemConfiguration.Builder 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 system
      requiredVerticalSpaceForTree - the amount of vertical space for the placed feature
      levelTestDistance - the distance to test for the level of the root system
      maxLevelDeviation - the maximum level deviation
      rootRadius - the radius of which these roots can spread
      rootReplaceable - a tag of materials which can be replaced by the root system
      rootStateProvider - the block to use for the root column
      rootPlacementAttempts - the number of attempts to place the root column
      rootColumnMaxHeight - the maximum height of the root column
      hangingRootRadius - the radius of the hanging roots
      hangingRootsVerticalSpan - the vertical span of the hanging roots
      hangingRootStateProvider - the block to use for the hanging roots
      hangingRootPlacementAttempts - the number of attempts to place the hanging roots
      allowedVerticalWaterForTree - the amount of vertical water allowed for the placed feature
      allowedTreePosition - the block predicate used to check if the tree position is valid
      Returns:
      a new root system configuration
      Since:
      3.0.0
    • builder

      @AsOf("3.0.0") static RootSystemConfiguration.Builder builder()
      Creates a new builder.
      Returns:
      a new builder
      Since:
      3.0.0