Added Difficulty API.

By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
Bukkit/Spigot
2011-10-03 01:25:39 -04:00
parent 903b75184d
commit 3ea8302a86
3 changed files with 79 additions and 4 deletions

View File

@@ -323,18 +323,18 @@ public interface Server {
* @return World with the given Unique ID, or null if none exists.
*/
public World getWorld(UUID uid);
/**
* Gets the map from the given item ID.
*
*
* @param id ID of the map to get.
* @return The MapView if it exists, or null otherwise.
*/
public MapView getMap(short id);
/**
* Create a new map with an automatically assigned ID.
*
*
* @param world The world the map will belong to.
* @return The MapView just created.
*/