Class PaleMossDecorator.Builder
java.lang.Object
dev.wyck.worldgen.feature.treedecorators.PaleMossDecorator.Builder
- Enclosing interface:
PaleMossDecorator
Builder for
PaleMossDecorator.- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the pale moss decorator.groundProbability(float groundProbability) Sets the probability of placing theminecraft:pale_moss_patchconfigured feature at the position of the lowest log, between 0.0F and 1.0F (inclusive).leavesProbability(float leavesProbability) Sets the probability of adding hanging moss to the bottom of foliage blocks, between 0.0F and 1.0F (inclusive).trunkProbability(float trunkProbability) Sets the probability of adding hanging moss to the bottom of trunk blocks, between 0.0F and 1.0F (inclusive).
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
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
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
Sets the probability of placing theminecraft:pale_moss_patchconfigured 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
Builds the pale moss decorator.- Returns:
- a new pale moss decorator
- Since:
- 3.0.0
-