Interface WorldGenerationConfig.Mutable.Builder
-
- All Superinterfaces:
AbstractBuilder<WorldGenerationConfig.Mutable>
,Buildable.Builder<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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorldGenerationConfig.Mutable
build()
WorldGenerationConfig.Mutable.Builder
generateBonusChest(boolean generateBonusChest)
WorldGenerationConfig.Mutable.Builder
generateFeatures(boolean generateFeatures)
WorldGenerationConfig.Mutable.Builder
seed(long seed)
void
seed(java.lang.String seed)
Sets the seed-
Methods inherited from interface org.spongepowered.api.util.CopyableBuilder
from
-
-
-
-
Method Detail
-
seed
WorldGenerationConfig.Mutable.Builder seed(long seed)
-
seed
void seed(java.lang.String 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
WorldGenerationConfig.Mutable.Builder generateFeatures(boolean generateFeatures)
-
generateBonusChest
WorldGenerationConfig.Mutable.Builder generateBonusChest(boolean generateBonusChest)
-
build
WorldGenerationConfig.Mutable build()
- Specified by:
build
in interfaceAbstractBuilder<WorldGenerationConfig.Mutable>
- Specified by:
build
in interfaceBuildable.Builder<WorldGenerationConfig.Mutable>
-
-