Class ReplaceBlobsFeature.Builder

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

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

  • Method Details

    • targetState

      @AsOf("3.0.0") public ReplaceBlobsFeature.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 ReplaceBlobsFeature.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 ReplaceBlobsFeature.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 ReplaceBlobsFeature.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 ReplaceBlobsFeature.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 ReplaceBlobsFeature build()
      Builds the configuration.
      Returns:
      the configuration
      Since:
      3.0.0