Class PaleMossDecorator.Builder

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

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

  • Method Details

    • leavesProbability

      @AsOf("3.0.0") public PaleMossDecorator.Builder leavesProbability(float leavesProbability)
      Sets the probability of adding hanging moss to the bottom of foliage blocks, between 0.0F and 1.0F (inclusive).
      Parameters:
      leavesProbability - the leaves probability
      Returns:
      this builder
      Since:
      3.0.0
    • trunkProbability

      @AsOf("3.0.0") public PaleMossDecorator.Builder trunkProbability(float trunkProbability)
      Sets the probability of adding hanging moss to the bottom of trunk blocks, between 0.0F and 1.0F (inclusive).
      Parameters:
      trunkProbability - the trunk probability
      Returns:
      this builder
      Since:
      3.0.0
    • groundProbability

      @AsOf("3.0.0") public PaleMossDecorator.Builder groundProbability(float groundProbability)
      Sets the probability of placing the minecraft:pale_moss_patch configured feature at the position of the lowest log, between 0.0F and 1.0F (inclusive).
      Parameters:
      groundProbability - the ground probability
      Returns:
      this builder
      Since:
      3.0.0
    • build

      @AsOf("3.0.0") public PaleMossDecorator build()
      Builds the pale moss decorator.
      Returns:
      a new pale moss decorator
      Since:
      3.0.0