Class BlockBlobConfiguration.Builder

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

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

  • Method Details

    • state

      @AsOf("3.0.0") public BlockBlobConfiguration.Builder state(BlockData state)
      Sets the block state that makes up the blob.
      Parameters:
      state - the block state
      Returns:
      this builder
      Since:
      3.0.0
    • canPlaceOn

      @AsOf("3.0.0") public BlockBlobConfiguration.Builder canPlaceOn(BlockPredicate canPlaceOn)
      Sets the block predicate that must be passed for the blob to be placed on a block.
      Parameters:
      canPlaceOn - the placement predicate
      Returns:
      this builder
      Since:
      3.0.0
    • state

      @AsOf("3.0.0") public BlockBlobConfiguration.Builder state(Material material)
      Sets the block state that makes up the blob 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

      public BlockBlobConfiguration build()
      Builds the configuration.
      Returns:
      the configuration
      Since:
      3.0.0