Class CreakingHeartDecorator.Builder

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

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

  • Method Details

    • probability

      @AsOf("3.0.0") public CreakingHeartDecorator.Builder probability(float probability)
      Sets the probability of placing a creaking heart, between 0.0F and 1.0F (inclusive).
      Parameters:
      probability - the probability
      Returns:
      this builder
      Since:
      3.0.0
    • build

      @AsOf("3.0.0") public CreakingHeartDecorator build()
      Builds the creaking heart decorator.
      Returns:
      a new creaking heart decorator
      Since:
      3.0.0