class ModpackWithVersions : Modpack
Modpack with versions, used in repository
ModpackWithVersions(id: String, logo: String? = null, links: Links = Links(), name: String, description: String = "", authors: List<Author> = listOf(), versions: Map<String, ModpackVersion>)
Modpack with versions, used in repository |
val versions: Map<String, ModpackVersion>
All available versions of this modpack |
val authors: List<Author>
Authors of this modpack |
|
val description: String
Description of this modpack |
|
val id: String
Id of this modpack, should be author-handle/modpack-name |
|
val links: Links
Links related to modpack |
|
val logo: String?
URL to logo of this modpack |
|
val name: String
Display name of this modpack |
fun withoutVersions(): Modpack
Get this modpack without all versions, useful for serialisation |