Class ShelfMushroomDecorator.Builder

java.lang.Object
dev.wyck.worldgen.feature.treedecorators.ShelfMushroomDecorator.Builder
Enclosing interface:
ShelfMushroomDecorator

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

  • Method Details

    • probability

      @AsOf("4.0.0") public ShelfMushroomDecorator.Builder probability(float probability)
      Sets the placement probability.
      Parameters:
      probability - the probability, between 0 and 1
      Returns:
      this builder
      Since:
      4.0.0
    • build

      @AsOf("4.0.0") public ShelfMushroomDecorator build()
      Builds the shelf mushroom decorator.
      Returns:
      a new shelf mushroom decorator
      Since:
      4.0.0