Interface GeneratorFactory

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface GeneratorFactory
Creates Generator instances.
Author:
DaPorkchop_
  • Method Summary

    Modifier and Type
    Method
    Description
    create​(long seed, String options)
    Creates a new Generator using the given seed and options.
  • Method Details

    • create

      Generator create(long seed, String options)
      Creates a new Generator using the given seed and options.

      The returned Generator must be ready to use before being returned.

      Parameters:
      seed - the seed of the world being generated
      options - the options string for the generator, as configured in cloudburst.yml
      Returns:
      a newly created Generator