Package org.spongepowered.api.map
Interface MapStorage
public interface MapStorage
- 
Method Details- 
allMapInfosCollection<MapInfo> allMapInfos()Get allMapInfos that exist on this server.- Returns:
- Set of MapInfos
 
- 
mapInfoGets a MapInfo by its UUID.- Parameters:
- uuid- UUID of map to get
- Returns:
- The map with given uuid, or empty if it doesn't exist.
 
- 
createNewMapInfoCreates a newMapInfo.The MapInfo will not be successfully created if the fired CreateMapEventis cancelled. This can happen due to either a plugin cancelling it, or running out of room for maps. (Max amount of maps is 2147483647)- Returns:
- MapInfothe new MapInfo if available
 
 
-