Class ReplaceSphereConfiguration.Builder

java.lang.Object
dev.wyck.worldgen.feature.configurations.ReplaceSphereConfiguration.Builder
Enclosing interface:
ReplaceSphereConfiguration

@AsOf("3.0.0") public static final class ReplaceSphereConfiguration.Builder extends Object
Since:
3.0.0
  • Constructor Details

  • Method Details

    • targetState

      @AsOf("3.0.0") public ReplaceSphereConfiguration.Builder targetState(BlockData targetState)
      Sets the block state that is replaced within the sphere.
      Parameters:
      targetState - the target block state
      Returns:
      this builder
      Since:
      3.0.0
    • replaceState

      @AsOf("3.0.0") public ReplaceSphereConfiguration.Builder replaceState(BlockData replaceState)
      Sets the block state the target is replaced with.
      Parameters:
      replaceState - the replacement block state
      Returns:
      this builder
      Since:
      3.0.0
    • radius

      @AsOf("3.0.0") public ReplaceSphereConfiguration.Builder radius(IntProvider radius)
      Sets the radius of the sphere.
      Parameters:
      radius - the radius
      Returns:
      this builder
      Since:
      3.0.0
    • targetState

      @AsOf("3.0.0") public ReplaceSphereConfiguration.Builder targetState(Material material)
      Sets the block state that is replaced within the sphere from the given material's default block data.
      Parameters:
      material - the material to derive the target block state from
      Returns:
      this builder
      Since:
      3.0.0
    • replaceState

      @AsOf("3.0.0") public ReplaceSphereConfiguration.Builder replaceState(Material material)
      Sets the replacement block state from the given material's default block data.
      Parameters:
      material - the material to derive the replacement block state from
      Returns:
      this builder
      Since:
      3.0.0
    • build

      @AsOf("3.0.0") public ReplaceSphereConfiguration build()
      Builds the configuration.
      Returns:
      the configuration
      Since:
      3.0.0