geforkt von Mirrors/Paper
Can now create worlds with specific seeds
By: Dinnerbone <dinnerbone@dinnerbone.com>
Dieser Commit ist enthalten in:
Ursprung
8d8700833f
Commit
598a09dcee
@ -133,6 +133,18 @@ public interface Server {
|
|||||||
*/
|
*/
|
||||||
public World createWorld(String name, World.Environment environment);
|
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
|
* Gets the world with the given name
|
||||||
*
|
*
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren