mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-04 14:12:20 -07:00
@@ -1,22 +1,18 @@
|
||||
package org.bukkit;
|
||||
|
||||
import org.bukkit.generator.ChunkGenerator;
|
||||
import com.avaje.ebean.config.ServerConfig;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.inventory.Recipe;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.UUID;
|
||||
import java.util.logging.Logger;
|
||||
import java.io.File;
|
||||
|
||||
import org.bukkit.command.CommandException;
|
||||
import org.bukkit.command.PluginCommand;
|
||||
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.command.ConsoleCommandSender;
|
||||
import org.bukkit.command.PluginCommand;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.inventory.Recipe;
|
||||
import org.bukkit.map.MapView;
|
||||
import org.bukkit.plugin.PluginManager;
|
||||
import org.bukkit.plugin.ServicesManager;
|
||||
@@ -24,6 +20,8 @@ import org.bukkit.plugin.messaging.Messenger;
|
||||
import org.bukkit.plugin.messaging.PluginMessageRecipient;
|
||||
import org.bukkit.scheduler.BukkitScheduler;
|
||||
|
||||
import com.avaje.ebean.config.ServerConfig;
|
||||
|
||||
/**
|
||||
* Represents a server implementation
|
||||
*/
|
||||
@@ -277,62 +275,6 @@ public interface Server extends PluginMessageRecipient {
|
||||
*/
|
||||
public List<World> getWorlds();
|
||||
|
||||
/**
|
||||
* 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
|
||||
* @return Newly created or loaded World
|
||||
* @deprecated Use {@link #createWorld(org.bukkit.WorldCreator)}
|
||||
*/
|
||||
@Deprecated
|
||||
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
|
||||
* @deprecated Use {@link #createWorld(org.bukkit.WorldCreator)}
|
||||
*/
|
||||
@Deprecated
|
||||
public World createWorld(String name, World.Environment environment, long seed);
|
||||
|
||||
/**
|
||||
* 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 generator ChunkGenerator to use in the construction of the new world
|
||||
* @return Newly created or loaded World
|
||||
* @deprecated Use {@link #createWorld(org.bukkit.WorldCreator)}
|
||||
*/
|
||||
@Deprecated
|
||||
public World createWorld(String name, World.Environment environment, ChunkGenerator generator);
|
||||
|
||||
/**
|
||||
* 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
|
||||
* @param generator ChunkGenerator to use in the construction of the new world
|
||||
* @return Newly created or loaded World
|
||||
* @deprecated Use {@link #createWorld(org.bukkit.WorldCreator)}
|
||||
*/
|
||||
@Deprecated
|
||||
public World createWorld(String name, World.Environment environment, long seed, ChunkGenerator generator);
|
||||
|
||||
/**
|
||||
* Creates or loads a world with the given name using the specified options.
|
||||
* <p>
|
||||
|
Reference in New Issue
Block a user