Class BlockStateConfiguration.Builder

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

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

  • Method Details

    • state

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