Package fr.revived.morpheus.game.api.map
Interface Map
public interface Map
-
Method Details
-
getUniqueId
UUID getUniqueId() -
getId
String getId() -
getName
String getName() -
getType
MapType getType() -
getState
MapState getState() -
getVersion
MapVersion getVersion() -
getMetadata
MapMetadata getMetadata() -
getBedLocations
Collection<MapBedLocation> getBedLocations()- Returns:
- all bed locations declared for this map. Returns an empty collection if this is not a BedWars-style game.
-
getBedForTeam
Retrieves the bed location for a given team.- Parameters:
teamId- the team id (e.g."red","blue")- Returns:
- an
Optionalcontaining the bed location if one is defined for this team
-