Class IcebergFeature.Builder

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

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

    • Builder

      public Builder()
    • Builder

      public Builder(IcebergFeature configuration)
  • Method Details

    • state

      @AsOf("3.0.0") public IcebergFeature.Builder state(BlockData state)
      Sets the block state used by this configuration.
      Parameters:
      state - the block state
      Returns:
      this builder
      Since:
      3.0.0
    • state

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

      @AsOf("3.0.0") public IcebergFeature build()
      Builds the block state configuration.
      Returns:
      the block state configuration
      Since:
      3.0.0