Interface WorldGenerationConfig.Builder
- All Superinterfaces:
AbstractBuilder<WorldGenerationConfig>
,Builder<WorldGenerationConfig,
,WorldGenerationConfig.Builder> CopyableBuilder<WorldGenerationConfig,
,WorldGenerationConfig.Builder> ResettableBuilder<WorldGenerationConfig,
WorldGenerationConfig.Builder>
- Enclosing interface:
- WorldGenerationConfig
public static interface WorldGenerationConfig.Builder
extends Builder<WorldGenerationConfig,WorldGenerationConfig.Builder>, CopyableBuilder<WorldGenerationConfig,WorldGenerationConfig.Builder>
-
Method Summary
Modifier and TypeMethodDescriptiongenerateBonusChest
(boolean generateBonusChest) Sets if the bonus chest will generate.generateStructures
(boolean generateStructures) Sets whether structures will generateseed
(long seed) Sets the seedvoid
Sets the seedMethods inherited from interface net.kyori.adventure.builder.AbstractBuilder
build
Methods inherited from interface org.spongepowered.api.util.CopyableBuilder
from
-
Method Details
-
seed
Sets the seed- Parameters:
seed
- The 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
-
generateStructures
Sets whether structures will generate- Parameters:
generateStructures
- Whether structures will generate
-
generateBonusChest
Sets if the bonus chest will generate.- Parameters:
generateBonusChest
- Whether bonus chest will generate
-