Class HugeFungusConfiguration.Builder
java.lang.Object
dev.wyck.worldgen.feature.configurations.HugeFungusConfiguration.Builder
- Enclosing interface:
HugeFungusConfiguration
Builder for
HugeFungusConfiguration.- Since:
- 3.3.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theHugeFungusConfigurationinstance.decorState(BlockData decorState) Sets the decor state for the huge fungus configuration.decorState(Material material) Sets the decor state for the huge fungus configuration using aMaterial.Sets the hat state for the huge fungus configuration.Sets the hat state for the huge fungus configuration using aMaterial.planted()Sets the huge fungus as planted.planted(boolean planted) Sets whether the huge fungus is planted.replaceableBlocks(BlockPredicate replaceableBlocks) Sets the replaceable blocks for the huge fungus configuration.Sets the stem state for the huge fungus configuration.Sets the stem state for the huge fungus configuration using aMaterial.validBaseState(BlockData validBaseState) Sets the valid base state for the huge fungus configuration.validBaseState(Material material) Sets the valid base state for the huge fungus configuration using aMaterial.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
validBaseState
Sets the valid base state for the huge fungus configuration.- Parameters:
validBaseState- the valid base state- Returns:
- this builder
- Since:
- 3.3.0
-
stemState
Sets the stem state for the huge fungus configuration.- Parameters:
stemState- the stem state- Returns:
- this builder
- Since:
- 3.3.0
-
hatState
Sets the hat state for the huge fungus configuration.- Parameters:
hatState- the hat state.- Returns:
- this builder
- Since:
- 3.3.0
-
decorState
Sets the decor state for the huge fungus configuration.- Parameters:
decorState- the decor state.- Returns:
- this builder
- Since:
- 3.3.0
-
replaceableBlocks
@AsOf("3.3.0") public HugeFungusConfiguration.Builder replaceableBlocks(BlockPredicate replaceableBlocks) Sets the replaceable blocks for the huge fungus configuration.- Parameters:
replaceableBlocks- the replaceable blocks.- Returns:
- this builder
- Since:
- 3.3.0
-
planted
Sets whether the huge fungus is planted.- Parameters:
planted- true if the huge fungus is planted, false otherwise.- Returns:
- this builder
- Since:
- 3.3.0
-
validBaseState
Sets the valid base state for the huge fungus configuration using aMaterial.- Parameters:
material- the material to set as the valid base state.- Returns:
- this builder
- Since:
- 3.3.0
-
stemState
Sets the stem state for the huge fungus configuration using aMaterial.- Parameters:
material- the material to set as the stem state.- Returns:
- this builder
- Since:
- 3.3.0
-
hatState
Sets the hat state for the huge fungus configuration using aMaterial.- Parameters:
material- the material to set as the hat state.- Returns:
- this builder
- Since:
- 3.3.0
-
decorState
Sets the decor state for the huge fungus configuration using aMaterial.- Parameters:
material- the material to set as the decor state.- Returns:
- this builder
- Since:
- 3.3.0
-
planted
Sets the huge fungus as planted.- Returns:
- this builder
- Since:
- 3.3.0
-
build
Builds theHugeFungusConfigurationinstance.- Returns:
- A new instance of
HugeFungusConfigurationwith the specified parameters. - Since:
- 3.3.0
-