Class HugeRedMushroomFeature.Builder
java.lang.Object
dev.wyck.worldgen.feature.configurations.HugeRedMushroomFeature.Builder
- Enclosing interface:
HugeRedMushroomFeature
Builder for
HugeRedMushroomFeature.- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configuration.canPlaceOn(BlockPredicate canPlaceOn) Sets the predicate that defines which blocks the mushroom can be placed on.capProvider(BlockStateProvider capProvider) Sets the block state provider for the cap.foliageRadius(int foliageRadius) Sets the radius of the cap.stemProvider(BlockStateProvider stemProvider) Sets the block state provider for the stem.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
capProvider
Sets the block state provider for the cap.- Parameters:
capProvider- the block state provider for the cap- Returns:
- this builder
- Since:
- 3.0.0
-
stemProvider
Sets the block state provider for the stem.- Parameters:
stemProvider- the block state provider for the stem- Returns:
- this builder
- Since:
- 3.0.0
-
foliageRadius
Sets the radius of the cap.- Parameters:
foliageRadius- the radius of the cap- Returns:
- this builder
- Since:
- 3.0.0
-
canPlaceOn
Sets the predicate that defines which blocks the mushroom can be placed on.- Parameters:
canPlaceOn- the predicate that defines which blocks the mushroom can be placed on- Returns:
- this builder
- Since:
- 3.0.0
-
build
Builds the configuration.- Returns:
- the configuration
- Since:
- 3.0.0
-