Interface MultifaceGrowthConfiguration

All Superinterfaces:
FeatureConfiguration, Wrapper

@NullMarked @AsOf("3.0.0") public interface MultifaceGrowthConfiguration extends FeatureConfiguration
A feature that consists of several sculk vein or glow lichen blocks.
Since:
3.0.0
See Also:
  • Method Details

    • placeBlock

      @AsOf("3.0.0") Material placeBlock()
      The block to place. Must be a sculk vein or glow lichen.
      Returns:
      the block to place
      Since:
      3.0.0
    • searchRange

      @AsOf("3.0.0") int searchRange()
      The search range between 1 and 64.
      Returns:
      the search range
      Since:
      3.0.0
    • canPlaceOnFloor

      @AsOf("3.0.0") boolean canPlaceOnFloor()
      If the block can be placed on the floor.
      Returns:
      whether the block can be placed on the floor
      Since:
      3.0.0
    • canPlaceOnCeiling

      @AsOf("3.0.0") boolean canPlaceOnCeiling()
      If the block can be placed on the ceiling.
      Returns:
      whether the block can be placed on the ceiling
      Since:
      3.0.0
    • canPlaceOnWall

      @AsOf("3.0.0") boolean canPlaceOnWall()
      If the block can be placed on the wall.
      Returns:
      whether the block can be placed on the wall
      Since:
      3.0.0
    • chanceOfSpreading

      @AsOf("3.0.0") float chanceOfSpreading()
      The chance of the block spreading between 0.0 and 1.0.
      Returns:
      the chance of spreading
      Since:
      3.0.0
    • canBePlacedOn

      @AsOf("3.0.0") Set<Material> canBePlacedOn()
      A set of materials that the block can be placed on.
      Returns:
      the materials that the block can be placed on
      Since:
      3.0.0
    • toBuilder

      @AsOf("3.0.0") default MultifaceGrowthConfiguration.Builder toBuilder()
      Converts this object back to a builder.
      Returns:
      a builder with the same values as this object
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static MultifaceGrowthConfiguration of(Material placeBlock, int searchRange, boolean canPlaceOnFloor, boolean canPlaceOnCeiling, boolean canPlaceOnWall, float chanceOfSpreading, Set<Material> canBePlacedOn)
      Creates a new multiface growth configuration.
      Parameters:
      placeBlock - the block to place
      searchRange - the search range
      canPlaceOnFloor - whether the block can be placed on the floor
      canPlaceOnCeiling - whether the block can be placed on the ceiling
      canPlaceOnWall - whether the block can be placed on the wall
      chanceOfSpreading - the chance of the block spreading
      canBePlacedOn - a set of materials that the block can be placed on
      Returns:
      a new multiface growth configuration
      Since:
      3.0.0
    • builder

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