Interface WorldGenerationConfig.Builder

All Superinterfaces:
AbstractBuilder<WorldGenerationConfig>, Builder<WorldGenerationConfig,WorldGenerationConfig.Builder>, CopyableBuilder<WorldGenerationConfig,WorldGenerationConfig.Builder>, ResettableBuilder<WorldGenerationConfig,WorldGenerationConfig.Builder>
Enclosing interface:
WorldGenerationConfig

  • Method Details

    • seed

      Sets the seed
      Parameters:
      seed - The seed
    • seed

      void seed(String seed)
      Sets the seed

      If the seed is a number value, it will be parsed as a long. Otherwise, the String's String.hashCode() will be used.

      Parameters:
      seed - The seed
    • generateStructures

      WorldGenerationConfig.Builder generateStructures(boolean generateStructures)
      Sets whether structures will generate
      Parameters:
      generateStructures - Whether structures will generate
    • generateBonusChest

      WorldGenerationConfig.Builder generateBonusChest(boolean generateBonusChest)
      Sets if the bonus chest will generate.
      Parameters:
      generateBonusChest - Whether bonus chest will generate