mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
Can now create worlds with specific seeds
This commit is contained in:
parent
e1055afd1f
commit
eae2711738
1 changed files with 12 additions and 0 deletions
|
@ -133,6 +133,18 @@ public interface Server {
|
|||
*/
|
||||
public World createWorld(String name, World.Environment environment);
|
||||
|
||||
/**
|
||||
* Creates or loads a world with the given name.
|
||||
* If the world is already loaded, it will just return the equivalent of
|
||||
* getWorld(name)
|
||||
*
|
||||
* @param name Name of the world to load
|
||||
* @param environment Environment type of the world
|
||||
* @param seed Seed value to create the world with
|
||||
* @return Newly created or loaded World
|
||||
*/
|
||||
public World createWorld(String name, World.Environment environment, long seed);
|
||||
|
||||
/**
|
||||
* Gets the world with the given name
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue