Class SimpleBlockFeature.Builder

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

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

  • Method Details

    • toPlace

      @AsOf("3.0.0") public SimpleBlockFeature.Builder toPlace(BlockStateProvider toPlace)
      Sets the block state provider.
      Parameters:
      toPlace - the block state provider
      Returns:
      this builder
      Since:
      3.0.0
    • scheduleTick

      @AsOf("3.0.0") public SimpleBlockFeature.Builder scheduleTick(boolean scheduleTick)
      Sets whether to schedule a block update.
      Parameters:
      scheduleTick - whether to schedule a block update
      Returns:
      this builder
      Since:
      3.0.0
    • build

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