Interface WorldGenerationConfig.Mutable.Builder
- All Superinterfaces:
AbstractBuilder<WorldGenerationConfig.Mutable>
,Builder<WorldGenerationConfig.Mutable,
,WorldGenerationConfig.Mutable.Builder> CopyableBuilder<WorldGenerationConfig,
,WorldGenerationConfig.Mutable.Builder> ResettableBuilder<WorldGenerationConfig.Mutable,
WorldGenerationConfig.Mutable.Builder>
- Enclosing interface:
- WorldGenerationConfig.Mutable
public static interface WorldGenerationConfig.Mutable.Builder
extends Builder<WorldGenerationConfig.Mutable,WorldGenerationConfig.Mutable.Builder>, CopyableBuilder<WorldGenerationConfig,WorldGenerationConfig.Mutable.Builder>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
generateBonusChest
(boolean generateBonusChest) generateFeatures
(boolean generateFeatures) seed
(long seed) void
Sets the seedMethods inherited from interface org.spongepowered.api.util.CopyableBuilder
from
-
Method Details
-
seed
-
seed
Sets the seedIf the seed is a number value, it will be parsed as a
long
. Otherwise, the String'sString.hashCode()
will be used.- Parameters:
seed
- The seed
-
generateFeatures
-
generateBonusChest
-
build
WorldGenerationConfig.Mutable build()- Specified by:
build
in interfaceAbstractBuilder<WorldGenerationConfig.Mutable>
-