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

      Optional<MapBedLocation> getBedForTeam(String teamId)
      Retrieves the bed location for a given team.
      Parameters:
      teamId - the team id (e.g. "red", "blue")
      Returns:
      an Optional containing the bed location if one is defined for this team